How to enable or disable bitcode for specific library or SDK in Xcode project

微笑、不失礼 提交于 2019-12-22 06:58:08

问题


I have many external libraries and SDKs in my project. And some of them does not support bitcode. So I have to disable bitcode. But some libraries like ParseCrashReporting, does require it to symbolicate the crash reports.

I want to disable and enable bitcode for specific libraries. How I can achieve that? Is it even possible?

Thanks


回答1:


You can't. The library itself has to be built with support of bitcode. However, in case you have to ship you app right now and you don't have time for waiting while they update their library - you can disable bitcode support for your whole project. Once you have updated library with bitcode support - just enable it back on and update your app in the AppStore.

To enable/disable bitcode support go to Project > Build Settings > search for 'bitcode' in the searchfield > set to YES/NO.



来源:https://stackoverflow.com/questions/32947236/how-to-enable-or-disable-bitcode-for-specific-library-or-sdk-in-xcode-project

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