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
When building an application with XCode, we have an option to set the Enable Bitcode flag to either YES or NO via Build Settings > Build Options.
To disable Bitcode, go to the Build Settings tab of your workspace, scroll down to Build Options , and set Enable Bitcode to No.
If you turn BitCode on, then the intermediate representation of the compiled program gets uploaded and Apple will able to recompile and/or optimize your apps for future architectures (as described here). Turning it off is very safe for the time being.
Bitcode is an Apple technology that enables you to recompile your app to reduce its size. The recompilation happens when you upload your app to App Store Connect or export it for Ad Hoc, Development, or Enterprise distribution.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With