XCode 8 bitcode compatibility

烈酒焚心 提交于 2020-01-02 00:59:06

问题


I noticed an issue with the new XCode 8, that makes it impossible to archive on XCode 7 with bitcode. So for example if I'm trying to develop a library on XCode 8, when using on Xcode 7 and enabling bitcode I'm getting this error:

Invalid bitcode version (Producer: '800.0.38.0_0' Reader: '703.0.29_0')

Is there any workaround for that when developing libraries on Xcode 8 (objective c)?


回答1:


In my case, the problem came when i add new pod library which change bitcode compress. So changing bitcode in Build Setting resolve my problem.

Note that for projects using CocoaPods you should set ENABLE_BITCODE = NO on both the project and the Pods container project targets.




回答2:


If anyone is still trying to solve this, at the end we created a new binary using Xcode 7 (You can download older versions of Xcode form here). There's no way to make Xcode 8 to create a build using an older version of bitcode.



来源:https://stackoverflow.com/questions/39466051/xcode-8-bitcode-compatibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!