我已经更新了我的项目以使用新的Parse Framework(1.6.2),日志显示了x86_64架构的问题。 我正在使用Standart Arch(armv7,arm64)和FacebookSDK(带-ObjC标志)。 谁知道如何解决?
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_BFExecutor", referenced from:
objc-class-ref in Parse(PFObject.o)
objc-class-ref in Parse(PF_Twitter.o)
objc-class-ref in Parse(PFPush.o)
objc-class-ref in Parse(PFEventuallyQueue.o)
objc-class-ref in Parse(PFPinningEventuallyQueue.o)
objc-class-ref in Parse(PFCloud.o)
objc-class-ref in Parse(PFUser.o)
...
"_OBJC_CLASS_$_BFTask", referenced from:
objc-class-ref in Parse(PFSQLiteDatabase.o)
objc-class-ref in Parse(PFTwitterAuthenticationProvider.o)
objc-class-ref in Parse(PFObjectEncodingStrategy.o)
objc-class-ref in Parse(PFOfflineStore.o)
objc-class-ref in Parse(PFObject.o)
objc-class-ref in Parse(PF_Twitter.o)
objc-class-ref in Parse(PFAnonymousAuthenticationProvider.o)
...
"_OBJC_CLASS_$_BFTaskCompletionSource", referenced from:
objc-class-ref in ParseFacebookUtils(PFFacebookAuthenticationProvider.o)
objc-class-ref in Parse(PFSQLiteDatabase.o)
objc-class-ref in Parse(PFOfflineStore.o)
objc-class-ref in Parse(PFObject.o)
objc-class-ref in Parse(PF_Twitter.o)
objc-class-ref in Parse(PFNetworkCommandRunner.o)
objc-class-ref in Parse(PFEventuallyQueue.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
答案 0 :(得分:0)
在项目中添加Bolts.framework
。