Skip to main content

ionic-cloud build ios

This command creates an iOS build on Appflow. While the build is running, it prints the remote build log to the terminal

ionic-cloud build ios [ad-hoc, app-store, development, enterprise] [flags]

Flags#

NameTypeDefaultUsage
-h, --helpboolfalsehelp for ios
--signing-cert [required]stringSigning certificate
--build-stackstringTarget platform ("macOS - 2020.11" / "macOS - 2021.09" / "macOS - 2021.06" / "macOS - 2020.09" / "macOS - 2020.08" / "macOS - 2020.06"), defaults to latest stack
--dsymboolfalseDownload dsym file
--dsym-namestringDownload dsym and rename file
--ipaboolfalseDownload ipa file
--ipa-namestringDownload ipa and rename file
--native-configstringThe name of the native config to use for the build. Native configs are defined in the UI.

Inherited Flags#

NameTypeDefaultUsage
--app-id [required]stringAppflow app id
--commit [required]stringCommit sha
--detachedboolfalseAsynchronously run appflow build
--env[]string[]Variables to expose to your build. Variables defined this way override those loaded using the env-file flag. Example: --env VAR=value
--env-file[]string[]Files declaring environment variables to expose to your build. Variables from later files overwrite variables from earlier files.
--environmentstringThe name of the predefined Appflow Environment to expose to your build
--jsonboolfalseShortcut to print build output as JSON
--outputstring"text"Print build output as [json] or human readable [text]
--secret[]string[]Secrets to expose to your build. Example: --secret VAR=value
--configstringconfig file
--tokenstringIonic authorization token
-v, --verboseboolfalseverbose output

Examples#

ionic-cloud build ios development --app-id=a1234bc --commit=a9eb85ea214a6cfa6882f4be041d5cce7bee3e45 --signing-cert="iOS Signing Certificate Name"ionic-cloud build ios app-store --app-id=b3456cd --commit=4c511f16ef2644854d04cabebfcecc82be0eb04f --signing-cert="iOS Signing Certificate Name"ionic-cloud build ios app-store --app-id=b3456cd --commit=4c511f16ef2644854d04cabebfcecc82be0eb04f --signing-cert="iOS Signing Certificate Name" --ipa --ipa-name=my_custom_file_name.ipaionic-cloud build ios app-store --app-id=b3456cd --commit=4c511f16ef2644854d04cabebfcecc82be0eb04f --signing-cert="iOS Signing Certificate Name" --destination="Apple App Store Destination"ionic-cloud build ios development --app-id=a1234bc --commit=a9eb85ea214a6cfa6882f4be041d5cce7bee3e45 --signing-cert="iOS Signing Certificate Name" --build-stack="iOS - Xcode 9"