Undefined symbols for architecture x86_64: "_BFTaskMultipleExceptionsException", referenced from: ___53+[PFObject(Private) deleteAllAsync:withSessionToken:]_block_invoke226 in Parse(PFObject.o) ___65+[PFObject(Private) _deepSaveAsync:withCurrentUser:sessionToken:]_block_invoke319 in Parse(PFObject.o) "_OBJC_CLASS_$_BFExecutor", referenced from: objc-class-ref in Parse(PFObject.o) objc-class-ref in Parse(PFFile.o) objc-class-ref in Parse(PFFileManager.o) objc-class-ref in Parse(PFInstallation.o) objc-class-ref in Parse(PFPin.o) objc-class-ref in Parse(PFSession.o) objc-class-ref in Parse(PFUser.o) ... "_OBJC_CLASS_$_BFTask", referenced from: objc-class-ref in Parse(PFObject.o) objc-class-ref in Parse(PFEventuallyPin.o) objc-class-ref in Parse(PFFile.o) objc-class-ref in Parse(PFFileManager.o) objc-class-ref in Parse(PFInstallation.o) objc-class-ref in Parse(PFPin.o) objc-class-ref in Parse(PFEncoder.o) ... "_OBJC_CLASS_$_BFTaskCompletionSource", referenced from: objc-class-ref in Parse(PFObject.o) objc-class-ref in Parse(PFOfflineStore.o) objc-class-ref in Parse(BFTask+Private.o) objc-class-ref in Parse(PFEventuallyQueue.o) objc-class-ref in Parse(PFSQLiteDatabase.o) objc-class-ref in Parse(PFTaskHTTPRequestOperation.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
我收到此错误
我使用下面的链接作为参考,我实现了所有框架
Apple Mach-O Linker Error Parse
我的代码在Swift中,我无法找到如何解决该错误。
任何人都可以回复此事吗?
答案 0 :(得分:0)
尝试这种方式:
1)如果您使用Facebook SDK,请查看this question。解决方案似乎是:
添加到您的AppDelegate.m或其他类之后的常量 导入和实现之前部分:NSString * const BFTaskMultipleExceptionsException = @" BFMultipleExceptionsException&#34 ;;
2)检查图书馆搜索路径标记,也许您的项目中不再存在旧参考。
3)在构建设置上的其他链接标记中删除-ObjC标记。