Link libWorklightStaticLibProject.a 错误 Xcode 7 和 MobileFirst

Link error for libWorklightStaticLibProject.a with Xcode 7 and MobileFirst

周末为我们安装了 xcode 7 更新,现在我们无法构建 iOS 应用程序。

link 步骤失败并显示此消息:
ld: '/Users/jenkins/build/workspace/iOS/MyProject/apps/MyApp/iphone/native/WorklightSDK/libWorklightStaticLibProject.a(WLSimpleDataSharing.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 armv7s

我们使用的是 MFP 7.0,构建都是通过命令行完成的 (mfp & xcodebuild)。
libWorklightStaticLibProject.a 有更新吗?
可以使用 "disable bitcode" 解决方法吗?

事实上,您需要将 bitcode 设置为 "no",因为 MobileFirst 目前不支持 bitcode。

看这里:https://developer.ibm.com/mobilefirstplatform/2015/09/09/ats-and-bitcode-in-ios9/ 其他 iOS 9 篇相关博文:https://developer.ibm.com/mobilefirstplatform/