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]

Examples

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

Flags

NameTypeDefaultUsage
--app-id [required]stringAppflow app id
--commit [required]stringCommit sha
--signing-cert [required]stringSigning certificate
--app-bundle-idstringNative config application bundle ID. Example: com.company.app
--app-namestringNative config application name
--build-stackstringTarget platform ("macOS - 2021.10" / "macOS - 2022.09" / "macOS - 2021.09" / "macOS - 2021.06" / "macOS - 2020.11" / "macOS - 2020.09"), defaults to latest stack
--detachedboolfalseAsynchronously run appflow build
--dsymboolfalseDownload dsym file
--dsym-namestringDownload dsym and rename file
--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
--ipaboolfalseDownload ipa file
--ipa-namestringDownload ipa and rename file
--live-update-app-idstringAppflow application ID
--live-update-channel-namestringLive Update channel name
--live-update-disable-deployboolfalseDisable Live Updates from being applied
--live-update-max-storeint2Number of previous Live Updates that can be stored on a device
--live-update-methodstring"background"Live Update method to determine how the app will check for and apply updates, "background", "auto", or "none"
--live-update-min-background-durationint30Number of seconds the app needs to be in the background for it to have been considered "closed"
--native-configstringThe name of the native config to use for the build. Native configs are defined in the UI.
--secret[]string[]Secrets to expose to your build. Example: --secret VAR=value

Global Flags

NameTypeDefaultUsage
-h, --helpboolfalsehelp for ios
--configstringconfig file
--jsonboolfalseFor commands with output, shortcut to print as JSON
--outputstring"text"For commands with output, print as [json] or human readable [text]
--tokenstringIonic authorization token
-v, --verboseboolfalseverbose output