Kingofmit Kingofmit - 1 year ago 98
Objective-C Question

how to ENABLE_BITCODE in xcode 7?

I'm developing with and i get this problem upgrading to xCode 7. Some Parse Frameworks are not fully working.

I've got this Warning :

URGENT: all bitcode will be dropped because
was built without bitcode. You must rebuild it with bitcode enabled
(Xcode setting ENABLE_BITCODE), obtain an updated library from the
vendor, or disable bitcode for this target. Note: This will be an
error in the future.

Let me remind that everything was working in the last version of Xcode 6

I would like to know how to ENABLE Bitcode in XCODE 7 ?

Answer Source

If you are using a third-party framework or library that was updated for iOS 9, and you don't want to include bitcode, then you should check to see if a version of the framework was provided without bitcode. See Apple's note on when to include it in your app bundle:

For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.

To disable/enable bitcode in your project, follow these steps:

  1. In the project build settings, make sure you have enabled All settings to be visible.
  2. The Build Options are the 4th section down. Select Yes or No for the Enable Bitcode option.

enter image description here

enter image description here

Thank you

Thank you for reading! If this helped you, please vote!