我有一个应用程序,同时安装了Parse和Facebook框架.通过将文件拖动到项目的“Frameworks”文件夹并选择“需要复制”来安装解析,而通过拖动而不是选择复制选项安装了Facebook SDK.两者都显示在链接二进制列表下.这个问题似乎是两个SDK都包含螺栓.我尝试使用Facebook,产生以下Link-O错误:
Undefined symbols for architecture x86_64: "_BFTaskMultipleExceptionsException",referenced from: ___53+[PFObject(Private) deleteAllAsync:withSessionToken:]_block_invoke214 in Parse(PFObject.o) ___65+[PFObject(Private) _deepSaveAsync:withCurrentUser:sessionToken:]_block_invoke311 in Parse(PFObject.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command Failed with exit code 1 (use -v to see invocation)
我删除了一个Facebook的链接,并尝试拖动解析器,但是错误仍然存在.我也得到了警告
ld: warning: ignoring file /Users/milesper/Documents/FacebookSDK/Bolts.framework/Bolts,missing required architecture x86_64 in file /Users/milesper/Documents/FacebookSDK/Bolts.framework/Bolts (2 slices)
我应该如何清理项目并链接到Parse版本的螺栓?还有什么我应该做的吗