[英]Type arguments cannot be applied to non-paremterized class 'BFTask'
I am using parse and swift in Xcode 7. So I opened up one of my Xcode projects that I haven't used in a while and when I tried to run it I was met with 22 random errors when it had been working fine before. 我在Xcode 7中使用了parse和swift。因此,我打开了我一段时间未使用的Xcode项目之一,当我尝试运行它时,在以前可以正常运行的时候遇到了22个随机错误。 The error is: Type arguments cannot be applied to non-paremterized class 'BFTask' and these errors are coming from PFAnalytics.h and PFObject.h.
错误是:类型参数不能应用于非参数化的类'BFTask',并且这些错误来自PFAnalytics.h和PFObject.h。 I am also getting the error could not build module 'Parse' from my bridging header.
我也收到错误,无法从我的桥接标头中构建模块“解析”。 What is wrong?
怎么了? Here is my Parse frameworks:
这是我的解析框架:
When this happens you must make sure that you are using the same exact frameworks that you downloaded and put in your project originally otherwise it is easy for the individual frameworks to have version issues. 发生这种情况时,您必须确保使用与下载的原始框架完全相同的框架,否则原始框架中容易出现版本问题。 If for some reason you don't have all of the original frameworks then the other thing you can try is to go to parse.com and download new versions of all the frameworks delete the current ones in the project, and replace them with the ones you just downloaded.
如果由于某种原因您没有所有原始框架,那么您可以尝试的另一方法是转到parse.com并下载所有框架的新版本,以删除项目中的当前框架,然后将其替换为框架。您刚刚下载。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.