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

My project has many external libraries and SDKs. And some of them do not support bitcode . Therefore, I need to disable bitcode . But some libraries, such as ParseCrashReporting , require crash reporting symbols from it.

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

thanks

+5
source share
1 answer

You can not. The library itself must be built with support for bit code. However, if you need to send the application right now, and you don’t have time to wait while they update their library, you can disable bit code support for the entire project. After updating the library with bitcode support, just turn it on and update the application in the AppStore.

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

+10
source

Source: https://habr.com/ru/post/1232969/


All Articles