Build ipa by archiving the Xcode project and then exporting it
xcode-project build-ipa [-h] [--log-stream STREAM] [--no-color] [--version] [-s] [-v]
[--project XCODE_PROJECT_PATH]
[--workspace XCODE_WORKSPACE_PATH]
[--target TARGET_NAME]
[--config CONFIGURATION_NAME]
[--scheme SCHEME_NAME]
[--clean]
[--no-show-build-settings]
[--archive-directory ARCHIVE_DIRECTORY]
[--archive-flags ARCHIVE_FLAGS]
[--archive-xcargs ARCHIVE_XCARGS]
[--ipa-directory IPA_DIRECTORY]
[--export-options-plist EXPORT_OPTIONS_PATH]
[--export-flags EXPORT_FLAGS]
[--export-xcargs EXPORT_XCARGS]
[--remove-xcarchive]
[--disable-xcpretty]
[--xcpretty-options OPTIONS]
Path to Xcode project (*.xcodeproj)
Path to Xcode workspace (*.xcworkspace)
Name of the Xcode Target
Name of the Xcode build configuration
Name of the Xcode Scheme
Whether to clean the project before building it
Do not show build settings for the project before building it. If not given, the value will be checked from the environment variable XCODE_PROJECT_NO_SHOW_BUILD_SETTINGS
.
Directory where the created archive is stored. Default: build/ios/xcarchive
Pass additional command line options to xcodebuild for the archive phase. For example -derivedDataPath=$HOME/myDerivedData -quiet
.
Pass additional arguments to xcodebuild for the archive phase. For example COMPILER_INDEX_STORE_ENABLE=NO OTHER_LDFLAGS="-ObjC -lstdc++
. Default: COMPILER_INDEX_STORE_ENABLE=NO
Directory where the built ipa is stored. Default: build/ios/ipa
Path to the generated export options plist. Default: $HOME/export_options.plist
Pass additional command line options to xcodebuild for the exportArchive phase. For example -derivedDataPath=$HOME/myDerivedData -quiet
.
Pass additional arguments to xcodebuild for the exportArchive phase. For example COMPILER_INDEX_STORE_ENABLE=NO OTHER_LDFLAGS="-ObjC -lstdc++
. Default: COMPILER_INDEX_STORE_ENABLE=NO
Remove generated xcarchive container while building ipa
Do not use XCPretty formatter to process log output
Command line options for xcpretty formatter. For example "--no-color" or "--simple --no-utf". Default: --color
show this help message and exit
Log output stream. Default stderr
Do not use ANSI colors to format terminal output
Show tool version and exit
Disable log output for commands
Enable verbose logging for commands