7

I want to disable Bitcode in the build settings of a .xcodeproj through terminal commands. I have searched all over but only found commands to build or archive the project from the terminal. Can you please give me an example how this command looks like?

Thank you

1 Answer 1

27

You can list all the keys and values of your project build settings with the command

xcodebuild -showBuildSettings

Then find one or more keys you want to override, e.g. ENABLE_BITCODE. These keys can be included as parameters in the build command like so:

xcodebuild -target <your target> -configuration <your configuration> ENABLE_BITCODE=NO
Sign up to request clarification or add additional context in comments.

2 Comments

As it stands, this is quite a low quality answer. Would you mind explaining further?
@ham-sandwich Agreed. Updated.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.