gpt4 book ai didi

iOS Mach-o 链接器错误解析

转载 作者:行者123 更新时间:2023-11-28 09:06:26 28 4
gpt4 key购买 nike

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_64clang: error: linker command failed with exit code 1 (use -v to see invocation)

我收到这个错误

我使用下面的链接作为引用,并从中实现了所有框架

Apple Mach-O Linker Error Parse

我的代码是用 Swift 编写的,我找不到解决该错误的方法。

有人可以回复吗?

最佳答案

试试这个方法:

1) 如果您还使用 Facebook SDK,请查看 this question .解决方案似乎是:

Add to your AppDelegate.m or another class following constant after imports and before implementation section: NSString *const BFTaskMultipleExceptionsException = @"BFMultipleExceptionsException";

2) 检查您的库搜索路径标志,也许您的项目中不再有旧引用。

3)Build SettingsOther Linker Flags 中删除 -Objcflags。

关于iOS Mach-o 链接器错误解析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30600931/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com