IOS: xcodebuild command disables bitcode in build settings

I want to disable bitcode in the build settings of .xcodeproj via terminal commands. I searched everything, but only found commands for creating or archiving the project from the terminal. Could you give an example of what this command looks like?

thanks

+4
source share
1 answer

You can list all the keys and values ​​of the project assembly parameters using the command

xcodebuild -showBuildSettings

Then find one or more keys that you want to override, for example. ENABLE_BITCODE. These keys can be included as parameters in the build command like this:

xcodebuild -target <your target> -configuration <your configuration> ENABLE_BITCODE=NO
+14
source

Source: https://habr.com/ru/post/1609813/


All Articles