Jonathan Starr
Jonathan Starr

Reputation: 254

Enable bitcode not in build options

With XCode 9.2, I am getting the ld error:

ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

However my Build Options do not contain any entry for Enable Bitcode, and when I try to find it via the search bar I don't find anything.

How can I set ENABLE_BITCODE=NO ? And, any idea why it doesn't show up?

Thanks.

Upvotes: 0

Views: 3455

Answers (1)

Blazej SLEBODA
Blazej SLEBODA

Reputation: 9915

Open the target "Build settings" then select "All" and "Combined" options. In the search field, type "bitcode" and select the value to "NO"

If the Enable Bitcode option is not on the list of the search results then check if Architecture and BaseSDK options are set up correctly.

Upvotes: 6

Related Questions