简体   繁体   English

类型参数不能应用于非参数化类'BFTask'

[英]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: 这是我的解析框架: 在此处输入图片说明

And here are my errors: 这是我的错误: 在此处输入图片说明

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.

相关问题 xcode 7类型参数不能应用于非参数化类 - xcode 7 Type arguments cannot be applied to non-parameterized class 在针对 iOS 8.4 SDK 使用 Crashlytics 3.3.4 构建时,类型参数不能应用于非参数化类“NSDictionary” - Type arguments cannot be applied to non-parameterized class 'NSDictionary' when using Crashlytics 3.3.4 building against iOS 8.4 SDK Xcode-实例消息的Recevier类型&#39;BFTask&#39;是前向声明 - Xcode - Recevier type 'BFTask' for instance message is forward declaration 二元运算符“+=”不能应用于类型的操作数。 - Binary operator '+=' cannot be applied to operands of type. 二进制运算符'.. <'不能应用于'Int'和'CGFloat'类型的操作数 - Binary operator '..<' cannot be applied to operands of type 'Int' and 'CGFloat' 二元运算符 != 不能应用于 NSUrlConnection!.Type 和 NilLiteralConvertible 类型的操作数 - Binary operator != cannot be applied to operands of type NSUrlConnection!.Type and NilLiteralConvertible 二进制运算符&#39;+&#39;不能应用于类型&#39;Double&#39;和&#39;Element&#39;(又名&#39;AnyObject&#39;)的操作数 - Binary Operator '+' cannot be applied to operands of type 'Double' and 'Element' (aka 'AnyObject') 二元运算符%不能应用于UInt32和int类型的操作数 - binary operator % cannot be applied to operands of type UInt32 and int 二进制运算符&#39;*&#39;不能应用于&#39;SCNVector3&#39;和&#39;Double&#39;类型的操作数 - Binary operator '*' cannot be applied to operands of type 'SCNVector3' and 'Double' 无法在没有参数的情况下调用initalizer fot类型的“ closure” - cannot invoke initalizer fot type “closure” with no arguments
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM