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 development --app-id=a1234bc --commit=a9eb85e --signing-cert="iOS Signing Certificate Name" --build-stack="iOS - Xcode 9"
Flags
Name | Type | Default | Usage |
---|---|---|---|
--app-id [required] | string | Appflow app id | |
--commit [required] | string | Commit sha | |
--signing-cert [required] | string | Signing certificate | |
--app-bundle-id | string | Native config application bundle ID. Example: com.company.app | |
--app-name | string | Native config application name | |
--build-stack | string | Target platform ("macOS - 2022.10" / "macOS - 2022.09" / "macOS - 2021.10" / "macOS - 2021.09" / "macOS - 2021.06"), defaults to latest stack | |
--detached | bool | false | Asynchronously run appflow build |
--dsym | bool | false | Download dsym zip file |
--dsym-name | string | Download dsym zip and rename file. Example: myapp.dsym.zip | |
--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. |
--environment | string | The name of the predefined Appflow Environment to expose to your build | |
--ipa | bool | false | Download ipa file |
--ipa-name | string | Download ipa and rename file. Example: myapp.ipa | |
--live-update-app-id | string | Appflow application ID | |
--live-update-channel-name | string | Live Update channel name | |
--live-update-disable-deploy | bool | false | Disable Live Updates from being applied |
--live-update-max-store | int | 2 | Number of previous Live Updates that can be stored on a device |
--live-update-method | string | "background" | Live Update method to determine how the app will check for and apply updates, "background", "auto", or "none" |
--live-update-min-background-duration | int | 30 | Number of seconds the app needs to be in the background for it to have been considered "closed" |
--native-config | string | The 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 |
--xcarchive | bool | false | Download xcarchive zip file |
--xcarchive-name | string | Download xcarchive zip and rename file. Example: myapp.xcarchive.zip |
Global Flags
Name | Type | Default | Usage |
---|---|---|---|
-h, --help | bool | false | help for ios |
--config | string | config file | |
--json | bool | false | For commands with output, shortcut to print as JSON |
--output | string | "text" | For commands with output, print as [json] or human readable [text] |
--token | string | Ionic authorization token | |
-v, --verbose | bool | false | verbose output |