iOS 9.0更新碰到:第三方库不包含bitcode
2016-05-06 15:07
387 查看
原文链接:/article/9781523.html
打开xcode7.0运行程序
运行错误提示 某一个第三方库不包含bitcode? bitcode?是什么,以前没有注意过。
查阅了一下官方文档,在App
Distribution Guide–App Thinning (iOS, watchOS)一节中,找到了下面这样一个定义:
Bitcode is an intermediate representationof a compiled program. Apps you upload to iTunes Connect that contain bitcodewill be compiled and linked on the App Store. Including bitcode will allowApple to re-optimize your app binary in the future without the need to submit anew version of your app to the store.
Bitcode是一个中级representationof编译程序。应用程序上传iTunes Connect包含bitcodewill编译和链接在App Store。包括bitcode将来allowApple优化你的应用程序二进制而不需要重新提交版本的应用程序商店。
而在What’s New in Xcode-New Features in Xcode 7中,还有一段如下的描述:
Bitcode. When you archive for submission tothe App Store, Xcode will compile your app into an intermediate representation.The App Store will then compile the bitcode down into the 64 or 32 bitexecutables as necessary.
Bitcode。当你档案提交到应用程序商店,Xcode将编译你的应用程序到一个中间表示。App Store将编译bitcode分成64或32 bitexecutables是必要的。
再看看这两段描述,都是放在App Thinning(App瘦身)一节中,可以看出其与包的优化有关了。
Bitcode配置
在上面的错误提示中,提到了如何处理我们遇到的问题:
You must rebuild it with bitcode enabled(Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, ordisable bitcode for this target. for architecture arm64
你必须重建它启用了bitcode(Xcode设置ENABLE_BITCODE),从供应商获得一个更新的库,ordisable bitcode这个目标。建筑arm64
现在有两种解决方式:
1.让第三方库支持,
2.关闭target的bitcode选项。我现在所使用的方法就是将bitcode关闭
在Xcode 7中,我们新建一个iOS程序时,bitcode选项默认是设置为YES的。我们可以在
选项中看到这个设置
将Enable Bitcode默认的YES 选项改成NO 就行了
希望对遇到类似问题朋友有所帮助
打开xcode7.0运行程序
运行错误提示 某一个第三方库不包含bitcode? bitcode?是什么,以前没有注意过。
查阅了一下官方文档,在App
Distribution Guide–App Thinning (iOS, watchOS)一节中,找到了下面这样一个定义:
Bitcode is an intermediate representationof a compiled program. Apps you upload to iTunes Connect that contain bitcodewill be compiled and linked on the App Store. Including bitcode will allowApple to re-optimize your app binary in the future without the need to submit anew version of your app to the store.
Bitcode是一个中级representationof编译程序。应用程序上传iTunes Connect包含bitcodewill编译和链接在App Store。包括bitcode将来allowApple优化你的应用程序二进制而不需要重新提交版本的应用程序商店。
而在What’s New in Xcode-New Features in Xcode 7中,还有一段如下的描述:
Bitcode. When you archive for submission tothe App Store, Xcode will compile your app into an intermediate representation.The App Store will then compile the bitcode down into the 64 or 32 bitexecutables as necessary.
Bitcode。当你档案提交到应用程序商店,Xcode将编译你的应用程序到一个中间表示。App Store将编译bitcode分成64或32 bitexecutables是必要的。
再看看这两段描述,都是放在App Thinning(App瘦身)一节中,可以看出其与包的优化有关了。
Bitcode配置
在上面的错误提示中,提到了如何处理我们遇到的问题:
You must rebuild it with bitcode enabled(Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, ordisable bitcode for this target. for architecture arm64
你必须重建它启用了bitcode(Xcode设置ENABLE_BITCODE),从供应商获得一个更新的库,ordisable bitcode这个目标。建筑arm64
现在有两种解决方式:
1.让第三方库支持,
2.关闭target的bitcode选项。我现在所使用的方法就是将bitcode关闭
在Xcode 7中,我们新建一个iOS程序时,bitcode选项默认是设置为YES的。我们可以在
”Build Settings”->"Build Options"->”Enable Bitcode”
选项中看到这个设置
将Enable Bitcode默认的YES 选项改成NO 就行了
希望对遇到类似问题朋友有所帮助
相关文章推荐
- iOS 开发,调用打电话,发短信,打开网址
- iOS开发系列--音频播放、录音、视频播放、拍照、视频录制
- iOS上传语音、文字、图片
- iOS 沙盒机制
- iOS 中的可遍数组NSMutableArray
- iOS开发系列-线程问题
- IOS开发: NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary]
- 如何用 Instruments 检测 iOS 每个进程的电量消耗?
- iOS滑动解锁、滑动获取验证码效果的实现代码
- iOS自动处理键盘事件的第三方库:IQKeyboardManager
- iOS的几种后台机制
- IOS CopyPNGFile 异常问题解决
- iOS开发系列-动画绘图CALayer
- iOS 关于已配对设备重新检测连接问题
- iOS开发系列--打造自己的“美图秀秀”
- iOS开发-进阶:语言国际化及代码切换语言
- iOS开发_修改系统cell的图像会变模糊的处理
- iOS开发系列--触摸事件、手势识别、摇晃事件、耳机线控
- IOS应用内存释放机制
- iOS 日期转成几年月日时分秒前