简体   繁体   中英

IOS: xcodebuild command disable bitcode in Build Settings

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

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, eg 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM