Skip to content

🔹 ビルド

🏗️ Manage native iOS/Android builds through Capgo Cloud.

ネイティブクラウドビルドリクエストは現在限られたベータ版であり、アクセスは制限されています。ビルドクレデンシャルはCapgoサーバーに保存されません: ビルドのみに使用され、次に削除されます。ビルド出力は、オプションで時間制限付きダウンロードリンクでアップロードできます。

ターミナル画面
npx @capgo/cli build credentials save --appId YOUR_APP_ID --platform ios
npx @capgo/cli build credentials save --appId YOUR_APP_ID --platform android

パス --output-record ダウンロードURLとQRコードを保存し、codeを使用してください build last-output を読むには:

ターミナル画面
npx @capgo/cli build request APP_ID --platform android --output-upload --output-record /tmp/build.json
npx @capgo/cli build last-output --path /tmp/build.json --field outputUrl
ターミナル画面
npx @capgo/cli@latest build needed

🧭 “yes” と code 1 を出力し、code 0 で終了する場合、ネイティブ ビルドが必要です。そうでない場合は “no” と code 2 で終了します。

例:

ターミナル画面
npx @capgo/cli@latest build needed com.example.app --channel production --verbose

オプション:

パラメータタイプ説明
-astringAPI アカウントにリンクするためのキー
-cstring比較対象のチャンネル。デフォルトは CapacitorUpdater.defaultChannel またはパブリックのデフォルトチャンネル
—package-jsonstringモノレポ用の package.json ファイルのパス (カンマ区切り)
—node-modulesstringモノレポ用の node_modules ディレクトリのパス (カンマ区切り)
—verboseboolean詳細ログ出力と詳細出力を有効にする
—supa-hoststring自宅ホスティングまたは開発用のカスタム Supabase ホスト URL ( Capgo )
—supa-anonstring自宅ホスティング用のカスタム Supabase anon キー

Alias: onboarding

ターミナル画面
npx @capgo/cli@latest build init

iOS: 証明書 + プロファイルを自動化; Android: キーストア + Google OAuth で GCP サービス アカウントと Play Console の招待を設定

オプション:

パラメータ説明
-astringAPI アカウントにリンクするためのキー
-pstringプラットフォーム (ios または android) をオンボードする。省略すると、1 つのネイティブ フォルダーのみが存在する場合に自動検出され、他の場合はプロンプトが表示されます。
—supa-hoststringカスタム Supabase ホスト URL (自社ホスティングまたは Capgo 開発用)
—no-analyticsbooleanこの実行でビルド オンボード分析とターミナル リプレイを無効にする
ターミナル画面
npx @capgo/cli@latest build request

Capgo Cloud からネイティブ ビルドを要求します。 このコマンドは、プロジェクト ディレクトリを ZIP 形式で圧縮し、Capgo にアップロードし、ビルドします。 ビルドはアプリ ストアに直接送信されます。 Capgo サーバーにはクレデンシャルが保存されず、ビルド後に削除されます。ビルド前に保存してください。

ターミナル画面
npx @capgo/cli build credentials save --appId APP_ID --platform ios

例:

ターミナル画面
npx @capgo/cli@latest build request com.example.app --platform ios --path .

オプション:

パラメータータイプ概要
—pathstringプロジェクトディレクトリのパスを指定してください (デフォルト: 現在のディレクトリ)
—node-modulesstringモノレポ用のnode_modulesディレクトリのパスを指定してください (カンマで区切って)
—platformstringターゲットプラットフォーム: ios または android (必須)
—build-modestringビルドモード: debug または release (デフォルト: release)
—build-certificate-base64stringiOS: Base64エンコードされた .p12 証明書
—p12-passwordstringiOS: 証明書パスワード (オプション: 証明書にパスワードがない場合)
—apple-idstringiOS: App Store Connect API キーの代替として、iOS アプリ固有のパスワードのアップロード用のメールアドレス
—apple-app-specific-passwordstringiOS: App Store Connect にアップロードするためのテストフライト用のアプリ固有のパスワード (xxxx-xxxx-xxxx-xxxx)
—apple-app-idstringiOS: App Store Connect アプリ ID (数字) (必須: —apple-id と —apple-app-specific-password とともに)
—apple-key-idstringiOS: App Store Connect API キー ID
—apple-issuer-idstringiOS: App Store Connect 発行者 ID
—apple-key-contentstringiOS: App Store Connect API キー (.p8)をBase64エンコードします。
—アプリストア接続チームIDstringiOS: App Store Connect チーム ID
—iOSスキームstringiOS: Xcode スキームをビルドする (標準: App)
—iOSターゲットstringiOS: Xcode でビルド設定を読み取るターゲット (標準: スキームと同じ)
—iOS配布stringiOS: 配布モード
—iOSプロビジョニングプロファイルstringiOS: プロビジョニングプロファイルのパスまたは bundleId=path マッピング (繰り返し可能)
—AndroidキーストアファイルstringAndroid: Base64でエンコードされたキーストアファイル
__CAPGO_KEEP_0__stringAndroid: キーストアのエイリアス
__CAPGO_KEEP_0__stringAndroid: キーストアのパスワード
__CAPGO_KEEP_0__stringAndroid: ストアのパスワード
__CAPGO_KEEP_0__stringAndroid: Google PlayサービスアカウントのJSON (Base64でエンコード)
__CAPGO_KEEP_0__stringAndroid: ビルドする製品フラバー (例: 本番). 必須です。プロジェクトが複数のフラバーを持っている場合。
__CAPGO_KEEP_0__stringAndroid: Google Play のインアプリ更新の優先度 (整数 0–5; 高い方が急がれる). 以下を参照してください https://developer.android.com/guide/playcore/in-app-updates. 優先順位: CLI > 環境変数 > 保存された資格情報
—no-playstore-uploadbooleanこのビルドのPlayストアのアップロードをスキップ (保存されたPlay設定をnullにする). —output-uploadが必要です。
—submit-to-store-reviewbooleanアップロード後、ストアリリースをレビューのために提出するのではなく、ドラフト/非アクティブビルドとして残すのではなく。 AndroidはPlayリリースを完了としてマークし、iOSはプロセッされたTestFlightビルドをApp Storeレビューに提出します。
—store-release-namestringストアリリースの名前/バージョンラベル。 AndroidはこのラベルをGoogle Playのバージョン名として送信し、iOSはApp Storeのバージョンを作成または再利用する際にこのラベルを使用します。
—store-release-notesstringデフォルトのストアリリースのノート。 AndroidはこのノートをPlayの変更履歴として使用し、iOSはApp Storeの「What’s New」テキストとして使用します。
—store-release-notes-localestringローカライズされたストアのリリースノート (繰り返し)、例えば —store-release-notes-locale en-US=“バグ修正” —store-release-notes-locale fr-FR=“修正”。
—ios-testflight-グループstringiOS: 外部ベータ配布用のオプションのカンマ区切りのテストフライト外部グループ名またはID。
—ios-自動リリースbooleaniOS: Apple の承認後に App Store のバージョンを自動的にリリースする。デフォルトは手動リリース。
—no-ios-自動リリースbooleaniOS: Apple の承認後に App Store のバージョンを待って手動リリースする。
—output-アップロードbooleanこのビルドのみの出力アップロードの動作をオーバーライド (有効)。優先順位: CLI > 環境 > 保存済みクレデンシャル
—no-output-アップロードbooleanこのビルドのみの出力アップロードの動作をオーバーライド (無効)。優先順位: CLI > 環境 > 保存済みクレデンシャル
—output-保持stringこのビルドのみに使用する出力リンクの有効期間をオーバーライドします (1時間から7日)。例: 1時間、6時間、2日。優先順位: CLI > 環境変数 > 保存済みの資格情報
—output-recordstringビルドが成功した後、JSON形式のレコード (jobId、status、outputUrl、qrCodeAscii、qrCodePngPath、finishedAt) をパスに書き込む。PNG QR code もそのパスに付随して書き込まれます。 .qr.png suffix。読み戻すフィールドは build last-output.
—no-skip-build-number-bumpbooleanこのビルドのみに使用して、自動的にビルド番号をインクリメントする保存済みの資格情報をオーバーライドします。
—skip-marketing-version-bumpbooleanアプリがすでにリリースされている場合、自動的にマーケティングバージョン (CFBundleShortVersionString / versionName) をブンプするのをスキップします。
—sync-ios-versionbooleaniOS: Xcode MARKETING_VERSION を package.json から取得し、プロジェクトをアップロードする前にアップロードします。
—ai-analyticsbooleanビルドが失敗した場合、Capgo AI にログを送信して診断します。インタラクティブなターミナルでは、事前に確認する必要がなく、CI では自動でアップロードして標準エラー出力に分析結果を出力します。
—no-prescanboolean自動前ビルドスキャンをスキップします
—prescan-ignore-fatalboolean前ビルドスキャンを実行しますが、ビルドをブロックすることはありません (警告のみ)
—fail-on-warningsboolean前ビルドスキャン警告を致命的なものとして扱います
—send-logs-to-supportbooleanCI/CD ビルドが失敗した場合、自動的にビルドログをCapgoサポートにアップロードします (メールは必要ありません)。Capgoサポートはメールで連絡を取ります。—ai-analyticsと組み合わせて使用します。
—send-logsboolean—send-logs-to-supportの古いエイリアスです
-astringAPIアカウントへのリンク用キー
—supa-hoststringCustom Supabase host URL (for self-hosting or Capgo development)
—supa-anonstring自社ホスティング用のカスタム Supabase anon キー
—verboseboolean詳細なログとともに詳細な出力を有効にする

🔹 Sync-ios-version

「Sync-ios-version」
ターミナルウィンドウ
npx @capgo/cli@latest build sync-ios-version

package.json の MARKETING_VERSION をローカル iOS Xcode と同期する。

例:

ターミナル画面
npx @capgo/cli@latest build sync-ios-version --path .

オプション:

パラメータータイプ説明
—pathstringプロジェクトディレクトリへのパス (デフォルト: カレントディレクトリ)
—checkbooleanチェックのみ; MARKETING_VERSION が同期されていない場合にゼロ以外の値を返す
ターミナルウィンドウ
npx @capgo/cli@latest build prescan

__CAPGO_KEEP_0__プロジェクトと保存された資格情報をスキャンして、クラウドビルドを失敗させる問題を検出する — それからアップロードする前に。 build request資格情報 (有効期限、パスワード、プロファイルのペアリング)、プロジェクトの状態 (cap sync、node_modules のレイアウト)、プラットフォームの構成をチェックします。自動的に内部で実行されます。

; このコマンドは、CI などで単独で実行します。

オプション:パラメータータイプ
説明string—プラットフォーム
ターゲットプラットフォーム: ios または android (必須)string—パス
-astringAPIキーを使用してアカウントにリンク
—android-flavorstringAndroid用の製品フラバーを指定します。ビルドが使用するフラバーを指定します。
—ios-diststringiOS: バリデーションに使用するディストリビューションモードを指定します。
—jsonbooleanJSON形式のレポートを出力します。
—fail-on-warningsboolean警告が発生した場合に非ゼロの値で終了します (CI 用)。
—ignore-fatalboolean診断モード: すべての情報を報告しますが、常に 0 で終了します。
—詳細出力boolean詳細出力モードを有効にします。詳細なログが表示されます。
—自社ホストstring自社ホストURL (自社ホスト化または開発用) (for self-hosting or Capgo development)
—自社匿名string自社匿名鍵 (for self-hosting)
ターミナル画面
npx @capgo/cli@latest build last-output

前の出力記録を書き出した build request --output-record. デフォルトではフルJSONを表示します。 —field を使用すると、単一のフィールド、または —qr を使用すると、ASCII QR code を表示します。CIでダウンロードURLまたはQRを取得してPRまたはissueに投稿するのに便利です。 例: npx @capgo/cli build last-output —path /tmp/build.json npx @capgo/cli build last-output —path /tmp/build.json —field outputUrl npx @capgo/cli build last-output —path /tmp/build.json —qr

オプション:

パラメータータイプ説明
—pathstringJSONレコードを書き出した —output-record のパス (必須)
—fieldstring指定されたフィールドを出力 (選択肢: jobId, appId, platform, buildMode, status, outputUrl, qrCodeAscii, qrCodePngPath, finishedAt, schemaVersion)
—qrbooleanレンダリングされたASCII QR code を出力 (—field qrCodeAscii のショートカット)

マシン上のローカルに保存されているビルドクレデンシャルを管理します。 🔒 セキュリティ:

  • capgo~/ -credentials/credentials.json (グローバル) または .capgo-credentials.json (ローカル) に保存されたクレデンシャル
  • ビルド時に Capgo へ送信されますが、永久に保存されることはありません
  • Capgo から即座に削除されます
  • ビルド出力は、オプションで時間制限付きダウンロードリンクとしてアップロードされる 📚 ドキュメント: iOS セットアップ: https://capgo.app/docs/cli/cloud-build/ios/ Android セットアップ: https://capgo.app/docs/cli/cloud-build/android/

エイリアス: asc-key

ターミナルウィンドウ
npx @capgo/cli@latest build credentials apple-key

Create an App Store Connect team API key with a guided macOS helper (macOS only). Opens a native window that walks you through Apple’s App Store Connect UI in an embedded browser, auto-captures the Issuer ID + Key ID, intercepts the one-time .p8, validates it against Apple, and saves it to ~/.appstoreconnect/private_keys. Progress statistics are forwarded to Capgo analytics (disable with CAPGO_DISABLE_TELEMETRY). npx @capgo/cli build credentials apple-key —appId com.example.app

ターミナルウィンドウ

__CAPGO_KEEP_0__ キーを使用してアカウントにリンクする
Example:

パラメーター

タイプ説明-a
__CAPGO_KEEP_0__ キーを使用してアカウントにリンクするstringAPI key to link to your account
__CAPGO_KEEP_0__ キーを使用してアカウントにリンクするstringiOSアプリのビルドクレデンシャルにキャプチャされたキーを保存してください
—localbooleanグローバルファイルではなく、プロジェクトごとの .capgo-credentials.json に保存してください
—jsonbooleanキャプチャされたKey ID / Issuer ID / .p8 パスをJSON形式で出力してください
ターミナル画面
npx @capgo/cli@latest build credentials save

iOSまたはAndroidのビルドクレデンシャルをローカルに保存してください。 クレデンシャルは次の場所に保存されます:

  • ~/.capgo-credentials/credentials.json (デフォルト、グローバル)
  • .capgo-credentials.json (プロジェクトルート、—localフラグを使用) ⚠️ ビルドを実行する前に必ず保存してください。 🔒 これらのクレデンシャルは Capgo サーバーに永続的に保存されることはありません。 ビルドが完了した後すぐに削除されます。 📚 セットアップガイド: iOS: https://capgo.app/docs/cli/cloud-build/ios/ Android: https://capgo.app/docs/cli/cloud-build/android/ npx @capgo/cli build credentials save —platform ios
    —証明書 ./cert.p12 —p12パスワード “password”
    —iOSプロビジョニングプロファイル ./profile.mobileprovision
    —Appleキーの取得 ./AuthKey.p8 —AppleキーのID “KEY123”
    —apple-issuer-id “issuer-uuid” —apple-team-id “team-id” Multi-target Example (app + widget extension): npx @capgo/cli build credentials save —platform ios
    Multi-target Example (app + widget extension):
    npx @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__ build credentials save —platform ios
    … npx @capgo/cli build credentials save —platform android
    —iOSプロビジョニングプロファイル com.example.widget=./Widget.mobileprovision、… npx @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__ build credentials save —platform android、—キーストア ./release.keystore —キーストアアリセイ “my-key”
    —キーストアキー・パスワード “key-pass”
    —プレイ・コンフィグ ./service-account.json ローカル ストレージ (プロジェクトごと): npx @capgo/cli build credentials save —local —プラットフォーム ios …

例:

ターミナル ウィンドウ
iOS Example:

オプション:

パラメータータイプ説明
—appIdstringアプリ ID (例: com.example.app) (必須)
—プラットフォームstringプラットフォーム: ios または android (必須)
証明書stringiOS: .p12 証明書ファイルのパス
iOS: 証明書プロビジョニングプロファイルのパスまたは bundleId=path (繰り返し)stringiOS: 証明書パスワード (証明書にパスワードがなければ省略可)
iOS: App Store Connect __CAPGO_KEEP_0__ キーのパスstringiOS: App Store Connect __CAPGO_KEEP_0__ キーID
iOS: App Store Connect __CAPGO_KEEP_0__ 発行者IDstringiOS: Path to .p8 App Store Connect API key
iOS: Path to .p12 certificate filestringiOS: App Store Connect API Key ID
iOS: Provisioning profile path or bundleId=path (repeatable)stringiOS: App Store Connect 発行者 ID
__CAPGO_KEEP_0__stringiOS: App Store Connect チーム ID
—ios-distributionstringiOS: 分配モード
—apple-idstringiOS: App Store Connect の代替として、App Store Connect API キーを使用しない場合の Apple ID メールアドレス
—apple-app-specific-passwordstringiOS: TestFlight のアップロード用の App ストア特定のパスワード (xxxx-xxxx-xxxx-xxxx)
—apple-app-idstringiOS: App Store Connect の数値アプリ ID (—apple-id と —apple-app-specific-password とともに必要)
—keystorestringAndroid: __CAPGO_KEEP_0__ファイルのパス (.keystore または .jks)
__CAPGO_KEEP_0__アリースstringAndroid: __CAPGO_KEEP_0__キー アリース
__CAPGO_KEEP_0__キー パスワードstringAndroid: __CAPGO_KEEP_0__ストア パスワード
__CAPGO_KEEP_0__サービス アカウント JSONstringAndroid: ビルドする製品フラバー (例: 生成). 必須です。プロジェクトが複数のフラバーを持つ場合。
__CAPGO_KEEP_0__イン アップデート プライオリティstringprotectedTokens
textsstringtargetLanguage
protectedTokensstringAndroid: Google Play in-app update priority for future releases (integer 0–5; higher = more urgent). Omit to leave Play’s existing value untouched.
—localbooleanプロジェクトルートの .capgo-credentials.json に保存するのではなく、グローバルの ~/.capgo-credentials/ に保存する
—output-uploadbooleanビルド出力 (IPA/APK/AAB) を Capgo ストレージにアップロードし、ダウンロードリンクを表示
—no-output-uploadbooleanビルド出力 (IPA/APK/AAB) を Capgo ストレージにアップロードしない
—output-retentionstring出力リンクの有効期間 (TTL): 1時間から7日 (標準: 1時間)。例: 1時間、6時間、2日
—skip-build-number-bumpboolean将来のビルドで自動的にビルド番号/バージョン code を増分するのをスキップ
—no-skip-build-number-bumpboolean自動ビルド番号の増加を再有効化 (デフォルトの動作)
—skip-marketing-version-bumpboolean既にリリースされているアプリの場合の将来のビルドで自動マーケティングバージョンアップをスキップします
—no-skip-marketing-version-bumpboolean自動マーケティングバージョンアップを再有効化 (デフォルトの動作)
ターミナルウィンドウ
npx @capgo/cli@latest build credentials list

保存済みのビルドクレデンシャルをリスト (パスワードがマスクされます)。 現在保存されているクレデンシャル (グローバルとローカル両方) を表示します。 例: npx @capgo/cli build credentials list # 全アプリのリスト npx @capgo/cli build credentials list —appId com.example.app # 特定のアプリのリスト

オプション:

パラメータ:種類説明
—appIdstringアプリIDをリスト (省略可、すべてリスト)
—localbooleanローカルの .capgo-credentials.json からのみクレデンシャルをリスト
ターミナルウィンドウ
npx @capgo/cli@latest build credentials clear

保存済みビルドクレデンシャルを削除。 ストレージからクレデンシャルを削除。 —appId と —platform を使用して特定のクレデンシャルをターゲットします。 例: npx @capgo/cli build credentials clear # 全アプリをクリア (グローバル) npx @capgo/cli build credentials clear —local # ローカルクレデンシャルをクリア npx @capgo/cli build credentials clear —appId com.example.app —platform ios

オプション:

パラメータ種類説明
—appIdstringクリアするアプリID (省略可、すべてのアプリをクリア)
—platformstringクリアするプラットフォーム: ios または android (省略可、すべてのプラットフォームをクリア)
—localbooleanローカルの .capgo-credentials.json をクリアする (グローバルをクリア)
—appId
npx @capgo/cli@latest build credentials update

再度すべての情報を提供することなく、特定の資格情報を更新します。 既存の資格情報を更新するには、変更したいフィールドのみを提供します。 プラットフォームは、提供されたオプションから自動で検出されます。 例: npx @capgo/cli build credentials update —ios-provisioning-profile ./new-profile.mobileprovision npx @capgo/cli build credentials update —local —keystore ./new-keystore.jks

オプション:

パラメーター種類説明
—appIdstringアプリID(省略した場合はcapacitor.configから自動で検出されます)
—platformstringプラットフォーム:iosまたはandroid(オプションから自動で検出されます)
—localbooleanローカルの.capgo-credentials.jsonを更新するのではなく、グローバルを更新します
証明書string__CAPGO_KEEP_0__証明書ファイルのパス
—iosプロビジョニングプロファイルstringプロビジョニングプロファイルのパスまたはbundleId=path (繰り返し、追加するデフォルト)
—iosプロビジョニングマップの上書きbooleanプロビジョニングマップを全て置き換えるのではなくマージする (デフォルト: マージ)
—p12パスワードstringP12証明書パスワード
—appleキーstringAPIアプリストア接続キーのパス (.p8ファイル)
—appleキーIDstringApp Store Connect API Key ID
—apple-issuer-idstringApp Store Connect 発行者 ID
—apple-team-idstringApp Store Connect チーム ID
—apple-idstringiOS: App Store Connect のアプリ固有のパスワードアップロード用のメールアドレス (App Store Connect API キーの代替)
—apple-app-specific-passwordstringiOS: テストフライトアップロード用のアプリ固有のパスワード (xxxx-xxxx-xxxx-xxxx)
—apple-app-idstringiOS: App Store Connect アプリ ID (数字) (—apple-id と —apple-app-specific-password とともに必要)
—ios-distributionstringiOS: 分配モード
—キーストアstringキーストアファイルのパス (.keystore または .jks)
—キーストアアリーアスstringキーストアキー・アリーアス
—キーストアキー・パスワードstringキーストアキー・パスワード
—キーストアストア・パスワードstringキーストアストア・パスワード
—プレイ・コンフィグstringGoogle Play サービス アカウント JSON のパス
—アンドロイド・フラバーstringAndroid: ビルドする製品フラバー (例: 製品化). 必須です。プロジェクトが複数のフラバーを持っている場合
—in-app-update-prioritystringAndroid: Google Play in-app update priority for future releases (integer 0–5; higher = more urgent).
—output-uploadbooleanCapgoにIPA/APK/AABのビルド出力をアップロードし、ダウンロードリンクを表示
—no-output-uploadbooleanCapgoにIPA/APK/AABのビルド出力をアップロードしない
—output-retentionstring__CAPGO_KEEP_0__の出力リンクの有効期間: 1時間から7日。例: 1時間、6時間、2日
—skip-build-number-bumpboolean自動ビルド番号/バージョンcodeのインクリメントをスキップする
—no-skip-build-number-bumpboolean自動ビルド番号のインクリメントを再度有効にする (デフォルトの動作)
—skip-marketing-version-bumpbooleanリリース済みアプリの場合の将来のビルドで自動マーケティングバージョンアップをスキップします。
—no-skip-marketing-version-bumpboolean自動マーケティングバージョンアップを再有効にします (デフォルトの動作)
ターミナル画面
npx @capgo/cli@latest build credentials manage

保存されたビルドクレデンシャルをインタラクティブに管理します。 保存済みクレデンシャルを参照、構成されたものを表示、CI/CD用の .env ファイルをエクスポート、またはプラットフォームのクレデンシャルを削除します。同じ TUI を再利用します。 例: npx @__CAPGO_KEEP_0__/__CAPGO_KEEP_1__ build credentials manage npx @__CAPGO_KEEP_2__/__CAPGO_KEEP_3__ build credentials manage —appId com.example.app npx @__CAPGO_KEEP_4__/__CAPGO_KEEP_5__ build credentials manage —appId com.example.app —platform ios npx @__CAPGO_KEEP_6__/__CAPGO_KEEP_7__ build credentials manage —local capgo init. Examples: npx @capgo/cli build credentials manage npx @capgo/cli build credentials manage —appId com.example.app npx @capgo/cli build credentials manage —appId com.example.app —platform ios npx @capgo/cli build credentials manage —local

パラメータ

パラメータ種類説明
—appIdstring__CAPGO_KEEP_0__を管理するアプリID (省略すると選択肢を提示)
—platformstring管理するプラットフォーム: ios または android (省略すると選択肢を提示)
—localbooleanローカルの .capgo-credentials.json を参照のみ
ターミナル画面
npx @capgo/cli@latest build credentials migrate

既存のプロビジョニング プロファイルを新しいマルチターゲット形式に移行します。 BUILD_PROVISION_PROFILE_BASE64 を CAPGO_IOS_PROVISIONING_MAP に変換します。 Xcode プロジェクトから自動的にメイン バンドル ID を検出します。 npx @capgo/cli build credentials migrate —platform ios

例:

ターミナル画面
Example:

オプション:

パラメータータイプ説明
—appIdstringアプリ ID ( capacitor.config から自動的に検出されます。省略した場合)
—platformstringプラットフォーム (サポートされているのは ios のみ)
—ローカルbooleanローカル capgo-credentials.json からグローバルに代わる移行