ionic package build

Contents

Appflowのプロジェクトをビルドします。

ionic package build <platform> <type> [options]

This command creates a package build on Ionic Appflow. While the build is running, it prints the remote build log to the terminal. If the build is successful, it downloads the created app package file in the current directory.

Apart from --commit, every option can be specified using the full name setup within the Dashboard.

The --security-profile option is mandatory for any iOS build but not for Android debug builds.

Customizing the build:

  • The --environment and --native-config options can be used to customize the groups of values exposed to the build.
  • Override the preferred platform with --target-platform. This is useful for building older iOS apps.

ionic package build android debugionic package build ios development --security-profile="iOS Security Profile Name"ionic package build android debug --environment="My Custom Environment Name"ionic package build android debug --native-config="My Custom Native Config Name"ionic package build android debug --commit=2345cd3305a1cf94de34e93b73a932f25baac77cionic package build ios development --security-profile="iOS Security Profile Name" --target-platform="iOS - Xcode 9"ionic package build ios development --security-profile="iOS Security Profile Name" --build-file-name=my_custom_file_name.ipa

入力データ

platform

Description

The platform to package (android, ios)

type

Description

The build type (debug, release, development, ad-hoc, app-store, enterprise)

オプション

--security-profile=<name>

Description

Security profile

--environment=<name>

Description

The group of environment variables exposed to your build

--native-config=<name>

Description

The group of native config variables exposed to your build

詳細オプション

--commit=<sha1>

Description

Commit (defaults to HEAD)

--target-platform=<name>

Description

Target platform ("Android", "iOS - Xcode 10 (Preferred)", "iOS - Xcode 9", "iOS - Xcode 8")

--build-file-name=<name>

Description

The name for the downloaded build file