Xcode7 错误提示:does not contain bitcode
2016-08-21 21:05
393 查看
升级到Xcode7之后,可能会遇到如下错误,错误提示如下:
解决方案:
(1)出错原因:原来的静态库都不包括 bitcode,但升级后的Xcode7默认包含了这个库。
(2)将下图中的 Enable Bitcode 置为 NO 即可;
![](https://img-blog.csdn.net/20160821210404739)
(3)bitcode 官方文档
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html#//apple_ref/doc/uid/TP40012582-CH35
描述如下:
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.
解决方案:
(1)出错原因:原来的静态库都不包括 bitcode,但升级后的Xcode7默认包含了这个库。
(2)将下图中的 Enable Bitcode 置为 NO 即可;
(3)bitcode 官方文档
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/AppThinning/AppThinning.html#//apple_ref/doc/uid/TP40012582-CH35
描述如下:
Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store. Xcode hides symbols generated during build time by default, so they are not readable by Apple. Only if you choose to include symbols when uploading your app to iTunes Connect would the symbols be sent to Apple. You must include symbols to receive crash reports from Apple. Note: For iOS apps, bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and frameworks in the app bundle (all targets in the project) need to include bitcode. After you distribute your app using iTunes Connect, you can download the dSYMs file for the build, described in Viewing and Importing Crashes in the Devices Window.
相关文章推荐
- xcode编译错误'../lib/DropboxSDK.framework/DropboxSDK' does not contain bitcode.
- iOS开发中,Xcode编译错误:does not contain bit code
- xCode 7 编译出现错误:does not contain bitcode 解决办法
- 解决Xcode 7编译错误:does not contain bitcode
- Bug之解决Xcode 7编译错误:* does not contain bitcode.
- 解决Xcode编译错误:does not contain bitcode
- “does not contain bitcode.”的错误解决办法
- Xcode 导入voiceConvert /lib/libopencore-amrnb.a(wrapper.o)' does not contain bitcode. You must rebuild
- iOS开发中,编译出现xxx does not contain bitcode.You must rebuild it with bitcode enabled(Xcode setting ENABL
- Xcode报错: does not contain bitcode. You must rebuild it with bitcode enabled
- 错误:'XXX/XXX' does not contain bitcode.
- does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE
- ld: 'XXX' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_B
- Xcode7 does not contain bitcode. 的错误
- does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), o
- does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), o
- Xcode7 *** does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE)
- *** does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE
- Xcode xxxx.a(Native_Sensors_Plugin.o)' does not contain bitcode
- Xcode, does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE) 解决办法