我今天更新到 XCode 7。正如Cordova Facebook 插件中所建议的那样,我克隆了 git repo 并从那里安装插件。在更新到 XCode 7 之前,我的构建没有问题。现在我收到以下错误。
错误:
ld: 'App/Plugins/phonegap-facebook-plugin/FacebookSDK.framework/FacebookSDK(FBLikeButtonBackgroundSelectedPNG.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
有什么想法吗?
我尝试删除并重新添加 ios 平台,但没有成功。
这对模拟器也很好。