35

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 ?

Brajmohan Papneja
  • 379
  • 1
  • 3
  • 14
  • For those who is looking for an answer recently, using Xcode 14, [bitcode is deprecated.](https://stackoverflow.com/a/73219854/9631529) Also see: https://github.com/facebook/react-native/issues/34148#issuecomment-1177912774 – Tarik Dec 24 '22 at 09:10

4 Answers4

61

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

Daij-Djan
  • 49,552
  • 17
  • 113
  • 135
3

Put config.build_settings['ENABLE_BITCODE'] = 'NO' in the post_install do |installer| section of podfile in your project.

Sabrina
  • 2,531
  • 1
  • 32
  • 30
0

Had the same problem with a Unity problem. Solution. Set "Enable Bitcode" to "yes" in Build Settings -> Build Options on all pod targets ("Pods" project and select all targets at once).

Jonaswinz
  • 342
  • 4
  • 15
0

In addition, it should be set to "No" in UnityFramework