Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode setting ENABLE_BITCODE: obtain an updated library from the vendor, or disable bitcode for this target

Tags:

xcode

You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

How to solve this ?

like image 717
Brajmohan Papneja Avatar asked Aug 14 '15 12:08

Brajmohan Papneja


People also ask

How do I disable Bitcode for Target?

To disable Bitcode, go to the Build Settings tab of your workspace, scroll down to Build Options , and set Enable Bitcode to No.

What is Bitcode enabled in Xcode?

Enable Bitcode 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.

Is it safe to disable Bitcode?

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.


1 Answers

What is Bitcode? Bitcode refers to the type of code that is sent to iTunes Connect which allows Apple to use certain calculations to re-optimize apps further. You can learn more about bitcodehere.

Either: "obtain an updated library from the vendor"

or: "disable bitcode for this target."

To disable Bitcode, go to the Build Settings tab of your workspace, scroll down to Build Options, and set Enable Bitcode to No.

the latter can be done through the build settings:

enter image description here

like image 188
Daij-Djan Avatar answered Sep 17 '22 21:09

Daij-Djan