๐น ๋น๋
์ค์น ๋จ๊ณ์ ์ด ํ๋ฌ๊ทธ์ธ์ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๋ฅผ ํฌํจํ ์ค์ ์ง์๋ฅผ ๋ณต์ฌํ์ธ์.
๐๏ธ Capgo Cloud๋ฅผ ํตํด ๋ค์ดํฐ๋ธ iOS/Android ๋น๋๋ฅผ ๊ด๋ฆฌํ์ธ์.
๋น๋ ์ ๊ทผ ๋ฐ ์ถ๋ ฅ
์ ๋ชฉ: ๋น๋ ์ ๊ทผ ๋ฐ ์ถ๋ ฅ๋ค์ดํฐ๋ธ ํด๋ผ์ฐ๋ ๋น๋ ์์ฒญ์ ํ์ฌ ์ ํ๋ ๋ฒ ํ ์ํ์ด๋ฉฐ ์ ๊ทผ์ด ์ ํ๋์ด ์์ต๋๋ค. ๋น๋ ์๊ฒฉ ์ฆ๋ช ์ Capgo ์๋ฒ์ ์ ์ฅ๋์ง ์์ต๋๋ค: ๋น๋๋ง ์ฌ์ฉํ๊ณ ์ญ์ ๋ฉ๋๋ค. ๋น๋ ์ถ๋ ฅ์ ์ ํ์ ์ผ๋ก ์๊ฐ ์ ํ๋ ๋ค์ด๋ก๋ ๋งํฌ์ ํจ๊ป ์ ๋ก๋ํ ์ ์์ต๋๋ค.
์๊ฒฉ ์ฆ๋ช ์ ์ ์ฅํ์ธ์
์ ๋ชฉ: ์๊ฒฉ ์ฆ๋ช ์ ์ ์ฅํ์ธ์npx @capgo/cli build credentials save --appId YOUR_APP_ID --platform iosnpx @capgo/cli build credentials save --appId YOUR_APP_ID --platform androidCI์์ ์ถ๋ ฅ URL ์บก์ฒ
CI์์ ์ถ๋ ฅ URL ์บก์ฒpersist --output-record ๋ค์ด๋ก๋ URL๊ณผ QR ์ฝ๋๋ฅผ code๋ก ์ ์ฅํ๊ณ ์ฌ์ฉ build last-output ์ฝ๊ธฐ
npx @capgo/cli build request APP_ID --platform android --output-upload --output-record /tmp/build.jsonnpx @capgo/cli build last-output --path /tmp/build.json --field outputUrl๐น ํ์ํ
ํ์ํnpx @capgo/cli@latest build needed๐งญ native ๋น๋๊ฐ ํ์ํ๋ฉด "yes"๋ฅผ ์ถ๋ ฅํ๊ณ code 1๋ก ์ข ๋ฃ; ๊ทธ๋ ์ง ์์ผ๋ฉด "no"๋ฅผ ์ถ๋ ฅํ๊ณ code 0์ผ๋ก ์ข ๋ฃ. ๋ช ๋ น ์คํจ๋ code 2๋ก ์ข ๋ฃ.
์์:
npx @capgo/cli@latest build needed com.example.app --channel production --verbose์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -a | string | API ํค๋ฅผ ์ฌ์ฉํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐ |
| -c | string | Capacitor ์ ๋ฐ์ดํฐ์ ๊ธฐ๋ณธ ์ฑ๋ ๋๋ ๊ณต๊ณต ๊ธฐ๋ณธ ์ฑ๋ |
| โpackage-json | string | ๋ชจ๋ ธ๋ ํฌ์ package.json ํ์ผ ๊ฒฝ๋ก (์ผํ๋ก ๊ตฌ๋ถ) |
| โnode-modules | string | ๋ชจ๋ ธ๋ ํฌ์ node_modules ๋๋ ํ ๋ฆฌ ๊ฒฝ๋ก (์ผํ๋ก ๊ตฌ๋ถ) |
| โverbose | boolean | ์ธ๋ถ ๋ก๊น ๊ณผ ํจ๊ป ์์ธํ ์ถ๋ ฅ์ ํ์ฑํํฉ๋๋ค. |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์ฉ์ผ๋ก ์ฌ์ฉํ ์ ์๋ ์ปค์คํ Supabase anon ํค |
๐ ์ด๊ธฐํ
Section titled โ ๐ InitโAlias: onboarding
npx @capgo/cli@latest build initiOS: ์ธ์ฆ์ + ํ๋กํ์ผ ์๋ํ; Android: ํค์คํ ์ด + Google OAuth GCP ์๋น์ค ๊ณ์ ๋ฐ Play Console ์ด๋
Options:
| Param | Type | ์ค๋ช |
|---|---|---|
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| -p | string | ํ๋ซํผ์ ์ ํํ์ธ์ (ios ๋๋ android). ๋ง์ฝ ํ๋์ ๋ค์ดํฐ๋ธ ํด๋๋ง ์กด์ฌํ๋ฉด ์๋์ผ๋ก ๊ฐ์งํ์ง๋ง, ๊ทธ๋ ์ง ์์ผ๋ฉด ์ฌ์ฉ์์๊ฒๆ็คบํฉ๋๋ค. |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โno-analytics | boolean | ์ด ๋น๋ ์คํ์์ ๋น๋ ์จ๋ณด๋ฉ ๋ถ์ ๋ฐ ํฐ๋ฏธ๋ ์ฌ์์ ๋นํ์ฑํํฉ๋๋ค. |
๐น ์์ฒญ
ํฐ๋ฏธ๋ ์ฐฝnpx @capgo/cli@latest build requestRequest a native build from Capgo Cloud. This command will zip your project directory and upload it to Capgo for building. The build will be processed and sent directly to app stores. Credentials are never stored on Capgo servers; they are deleted after the build. Save them before requesting a build:
npx @capgo/cli build credentials save --appId APP_ID --platform ios์์:
npx @capgo/cli@latest build request com.example.app --platform ios --path .์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โpath | string | ํ๋ก์ ํธ ๋น๋ ๋๋ ํ ๋ฆฌ์ ๊ฒฝ๋ก (๊ธฐ๋ณธ๊ฐ: ํ์ฌ ๋๋ ํ ๋ฆฌ) |
| โnode-modules | string | ๋ชจ๋ ธ๋ ํฌ์ node_modules ๋๋ ํ ๋ฆฌ ๊ฒฝ๋ก (์ผํ๋ก ๊ตฌ๋ถ) |
| โplatform | string | ํ๋ซํผ: ios ๋๋ android (ํ์) |
| โbuild-mode | string | ๋น๋ ๋ชจ๋: debug ๋๋ release (๊ธฐ๋ณธ๊ฐ: release) |
| โbuild-certificate-base64 | string | iOS: Base64 ์ธ์ฝ๋ฉ๋ .p12 ์ธ์ฆ์ |
| โp12-password | string | iOS: ์ธ์ฆ์ ๋น๋ฐ๋ฒํธ (์ธ์ฆ์์ ๋น๋ฐ๋ฒํธ๊ฐ ์์ผ๋ฉด ์ ํ ์ฌํญ) |
| โapple-id | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ์ ๋ํ ์ด๋ฉ์ผ ์ฃผ์ (App Store Connect API ํค ๋์ฒด) |
| โapple-app-specific-password | string | iOS: ํ ์คํธ ํ๋ผ์ดํธ ์ ๋ก๋๋ฅผ ์ํ ์ฑ ์คํ์ํฝ ๋น๋ฐ๋ฒํธ (xxxx-xxxx-xxxx-xxxx) |
| โapple-app-id | string | iOS: ์ซ์ App Store Connect ์ฑ ID (โapple-id ๋ฐ โapple-app-specific-password์ ํจ๊ป ํ์) |
| โapple-key-id | string | iOS: App Store Connect API ํค ID |
| โapple-issuer-id | string | iOS: App Store Connect ๋ฐ๊ธ์ ID |
| โapple-key-content | string | iOS: Base64๋ก ์ธ์ฝ๋ฉ๋ App Store Connect API ํค (.p8) |
| โapp-store-connect-team-id | string | iOS: App Store Connect ํ ID |
| โios-scheme | string | iOS: Xcode scheme์ ๋น๋ํ ๋ (๊ธฐ๋ณธ: App) |
| โios-target | string | iOS: Xcode target for reading build settings (default: same as scheme) |
| โiOS ๋ฐฐํฌ | string | iOS: ๋ฐฐํฌ ๋ชจ๋ |
| โiOS ๋ฐฐํฌ ํ๋กํ์ผ | string | iOS: ๋ฐฐํฌ ํ๋กํ์ผ ๊ฒฝ๋ก ๋๋ bundleId=path mapping (repeatable) |
| โ์๋๋ก์ด๋ ํค์คํ ์ด ํ์ผ | string | ์๋๋ก์ด๋: Base64-encoded ํค์คํ ์ด ํ์ผ |
| โํค์คํ ์ด ํค ๋ณ์นญ | string | ์๋๋ก์ด๋: ํค์คํ ์ด ํค ๋ณ์นญ |
| โํค์คํ ์ด ํค ๋น๋ฐ๋ฒํธ | string | ์๋๋ก์ด๋: ํค์คํ ์ด ํค ๋น๋ฐ๋ฒํธ |
| โํค์คํ ์ด ์ ์ฅ์ ๋น๋ฐ๋ฒํธ | string | ์๋๋ก์ด๋: Keystore ์ ์ฅ์ ๋น๋ฐ๋ฒํธ |
| โplay-config-json | string | ์๋๋ก์ด๋: Google Play ์๋น์ค ๊ณ์ JSON์ Base64๋ก ์ธ์ฝ๋ฉํ ๊ฐ |
| โandroid-flavor | string | ์๋๋ก์ด๋: ๋น๋ํ ์ ํ์ ๋ง์ง (์: ํ๋ก๋์ ). ํ๋ก์ ํธ์ ์ฌ๋ฌ ๋ง์ง์ด ์๋ค๋ฉด ํ์์ ๋๋ค. |
| โandroid-track | string | ์๋๋ก์ด๋: ์ ๋ก๋ํ Google Play ํธ๋ (๋ด๋ถ, ์ํ, ๋ฒ ํ, ํ๋ก๋์ ). โsubmit-to-store-review ์ต์ ์์ด ์ฌ์ฉํ ๊ฒฝ์ฐ ๊ธฐ๋ณธ๊ฐ์ ๋ด๋ถ์ ๋๋ค. โsubmit-to-store-review ์ต์ ๊ณผ ํธ๋์ ์ค์ ํ์ง ์์ ๊ฒฝ์ฐ ๊ธฐ๋ณธ๊ฐ์ ํ๋ก๋์ ์ ๋๋ค. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ ๋ณด |
| โandroid-release-status | string | ์๋๋ก์ด๋: Google Play ๋ฆด๋ฆฌ์ค ์ํ (draft, completed, inProgress, halted). โsubmit-to-store-review ์ต์ ์์ด ์ฌ์ฉํ ๊ฒฝ์ฐ ๊ธฐ๋ณธ๊ฐ์ draft์ ๋๋ค. โsubmit-to-store-review ์ต์ ๊ณผ ์ํ๋ฅผ ์ค์ ํ์ง ์์ ๊ฒฝ์ฐ ๊ธฐ๋ณธ๊ฐ์ completed์ ๋๋ค. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ ๋ณด |
| โin-app-update-priority | string | ์๋๋ก์ด๋: Google Play ๋ด ์ฑ ์ ๋ฐ์ดํธ ์ฐ์ ์์ (0-5์ ์ ์; ๋ ๋์์๋ก ๋ ๊ธํฉ๋๋ค). ์์ธํ ๋ด์ฉ์ https://developer.android.com/guide/playcore/in-app-updates. ์ฐ์ ์์: CLI > env > ์ ์ฅ๋ ์ธ์ฆ ์ ๋ณด |
| โno-playstore-upload | boolean | ์ด ๋น๋์ ๋ํ ํ๋ ์ด ์คํ ์ด ์ ๋ก๋๋ฅผ ์๋ตํฉ๋๋ค (์ ์ฅ๋ ํ๋ ์ด ๊ตฌ์ฑ null๋ก ์ค์ ). โoutput-upload์ด ํ์ํฉ๋๋ค. |
| โsubmit-to-store-review | boolean | ์ ๋ก๋ ํ ์คํ ์ด ๋ฆด๋ฆฌ์ฆ๋ฅผ ๊ฒํ ์์ฒญ ๋์ draft/๋นํ์ฑํ ๋น๋๋ก ๋จ๊ฒจ๋ก๋๋ค. ์๋๋ก์ด๋์์๋ ๊ธฐ๋ณธ์ ์ผ๋ก ํ๋ก๋์ ํธ๋์ ์๋ฃ๋ ๋ฆด๋ฆฌ์ฆ ์ํ (โandroid-track / PLAY_STORE_TRACK ๋ฐ โandroid-release-status / PLAY_STORE_RELEASE_STATUS๋ฅผ ์ค๋ฒ๋ผ์ด๋ํ์ฌ) ์ฌ์ฉํฉ๋๋ค. iOS์์๋ ์ฒ๋ฆฌ๋ ํ ์คํธ ํ๋ผ์ดํธ ๋น๋๋ฅผ ์ฑ ์คํ ์ด ๊ฒํ ์ ์ ์ถํฉ๋๋ค. |
| โstore-release-name | string | ์คํ ์ด ๋ฆด๋ฆฌ์ฆ ์ด๋ฆ/๋ฒ์ ๋ ์ด๋ธ. ์๋๋ก์ด๋์์๋ ์ด ๊ฐ์ Google Play์ ๋ฒ์ ์ด๋ฆ์ผ๋ก ์ ์กํ๊ณ iOS์์๋ App Store ๋ฒ์ ์ ๋ง๋ค๊ฑฐ๋ ์ฌ์ฌ์ฉํ ๋ ์ด ๊ฐ์ ์ฌ์ฉํฉ๋๋ค. |
| โstore-release-notes | string | ๊ธฐ๋ณธ ์คํ ์ด ๋ฆด๋ฆฌ์ฆ ๋ ธํธ. ์๋๋ก์ด๋์์๋ ์ด ๊ฐ์ ํ๋ ์ด์ ๋ณ๊ฒฝ ๋ก๊ทธ๋ก ์ฌ์ฉํ๊ณ iOS์์๋ App Store์ Whatโs New ํ ์คํธ๋ก ์ฌ์ฉํฉ๋๋ค. |
| โstore-release-notes-locale | string | ์ง์ญํ๋ ์คํ ์ด ๋ฆด๋ฆฌ์ฆ ๋ ธํธ (๋ฐ๋ณต ๊ฐ๋ฅ), ์๋ฅผ ๋ค์ด โstore-release-notes-locale en-US=โ๋ฒ๊ทธ ์์ โ โstore-release-notes-locale fr-FR=โ์์ โ. |
| โios-testflight-groups | string | iOS: optional comma-separated TestFlight external group names or IDs for external beta distribution. |
| โios-์๋ ๋ฐฐํฌ | boolean | iOS: ์ ํ ์น์ธ ํ App Store ๋ฒ์ ์ ์๋์ผ๋ก ์ถ์ํฉ๋๋ค. ๊ธฐ๋ณธ๊ฐ์ ์๋ ์ถ์์ ๋๋ค. |
| โno-ios-์๋ ๋ฐฐํฌ | boolean | iOS: ์ ํ ์น์ธ ํ App Store ๋ฒ์ ์ ์๋์ผ๋ก ์ถ์ํฉ๋๋ค. |
| โ์ถ๋ ฅ ์ ๋ก๋ | boolean | ์ด ๋น๋๋ง์ ์ํ ์ถ๋ ฅ ์ ๋ก๋ ๋์์ ๊ฐ์ ๋ก ํ์ฑํํฉ๋๋ค. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ์ถ๋ ฅ ์ ๋ก๋ ๋นํ์ฑํ | boolean | ์ด ๋น๋๋ง์ ์ํ ์ถ๋ ฅ ์ ๋ก๋ ๋์์ ๊ฐ์ ๋ก ๋นํ์ฑํํฉ๋๋ค. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ์ถ๋ ฅ ๋ณด์กด | string | ์ด ๋น๋๋ง์ ์ํ ์ถ๋ ฅ ๋งํฌ TTL์ ๊ฐ์ ๋ก ์ค์ ํฉ๋๋ค. ์์: 1์๊ฐ, 6์๊ฐ, 2์ผ. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ์ถ๋ ฅ ๊ธฐ๋ก | string | ์ฑ๊ณต์ ์ธ ๋น๋ ํ, JSON ๋ ์ฝ๋ (jobId, status, outputUrl, qrCodeAscii, qrCodePngPath, finishedAt)๋ฅผ ๊ฒฝ๋ก์ ๊ธฐ๋กํฉ๋๋ค. PNG QR code๋ ๊ทธ ๊ฒฝ๋ก ์์ ๊ธฐ๋ก๋ฉ๋๋ค. .qr.png suffix. build last-output. |
| โno-skip-build-number-bump | boolean | ์ด ๋น๋์ ๋ํด ์๋ ๋น๋ ๋ฒํธ ์ฆ๊ฐ๋ฅผ ์ฌ ํ์ฑํ ํ๋ ค๋ฉด ์ ์ฅ๋ ์๊ฒฉ ์ฆ๋ช ์ ์ฌ ์ ์ํ์ธ์. |
| โskip-marketing-version-bump | boolean | ์ฑ์ด ์ด๋ฏธ ์ถ์๋ ๊ฒฝ์ฐ ์๋ ๋ง์ผํ ๋ฒ์ (CFBundleShortVersionString / versionName) ์ฆ๊ฐ๋ฅผ ์๋ตํ์ธ์. |
| โsync-ios-version | boolean | iOS: package.json์ MARKETING_VERSION์ Xcode์์ syncํ๊ธฐ ์ ์ ํ๋ก์ ํธ๋ฅผ ์ ๋ก๋ํ๊ธฐ ์ ์. |
| โai-analytics | boolean | ๋น๋ ์คํจ ์, Capgo AI๋ก ๋ก๊ทธ๋ฅผ ๋ณด๋ด๊ณ ์ง๋จ์ ์ํด ๋ถ์์ ์ถ๋ ฅํฉ๋๋ค. ์ดํฐ๋ ํฐ๋ธ ํฐ๋ฏธ๋์์ ์ด ์ต์ ์ ์์์ ํ์ธ์ ์๋ตํ๊ณ CI์์ ์๋ ์ ๋ก๋ ๋ฐ ๋ถ์์ stderr๋ก ์ถ๋ ฅํฉ๋๋ค. |
| โno-prescan | boolean | ์๋ ์ ๋น๋ ์ค์บ์ ์๋ตํ์ธ์. |
| โprescan-ignore-fatal | boolean | ๋น๋ ์ ์ ์ค์บ์ ์คํํ์ง๋ง ๋น๋๊ฐ ์ค๋จ๋์ง ์๋๋ก ํ์ธ์ (์ค๋ฅ๋ง ๋ณด๊ณ ํฉ๋๋ค) |
| โprescan-skip | string | ํน์ ์ค์บ ์ฒดํฌ๋ฅผ ์๋ตํ์ธ์ (id, ๋ฐ๋ณต ๋๋ ์ผํ๋ก ๊ตฌ๋ถ). ๋ค๋ฅธ ์ฒดํฌ๋ ์ฌ์ ํ ์คํ๋ฉ๋๋ค. |
| โprescan-warn | string | ํน์ ์ค์บ ์ฒดํฌ๋ฅผ ๊ฒฝ๊ณ ๋ก ๋ฎ์ถ์ธ์ (id, ๋ฐ๋ณต ๋๋ ์ผํ๋ก ๊ตฌ๋ถ). ์ฒดํฌ๋ ์ฌ์ ํ ์คํ๋ฉ๋๋ค. |
| โfail-on-warnings | boolean | ๋น๋ ์ ์ ์ค์บ ๊ฒฝ๊ณ ๋ฅผ ์ค๋ฅ๋ก ์ฒ๋ฆฌํ์ธ์ |
| โsend-logs-to-support | boolean | CI/CD ๋น๋ ์คํจ ์ ์๋์ผ๋ก ๋น๋ ๋ก๊ทธ๋ฅผ Capgo ์ง์ํ์ ์ ๋ก๋ํฉ๋๋ค (์ด๋ฉ์ผ ํ์ํ์ง ์์ต๋๋ค). Capgo ์ง์ํ์ ์ด๋ฉ์ผ๋ก ์ฐ๋ฝ์ ์ทจํ ๊ฒ์ ๋๋ค. โai-analytics์ ์ถ๊ฐ๋ฉ๋๋ค. |
| โsend-logs | boolean | โsend-logs-to-support์ alias์ ๋๋ค (deprecated) |
| -a | string | API key to link to your account |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | Custom Supabase anon key (for self-hosting) |
| โverbose | boolean | Enable verbose output with detailed logging |
๐น Sync-ios-version
Sync-iOS ๋ฒ์ npx @capgo/cli@latest build sync-ios-versioniOS Xcode MARKETING_VERSION์ package.json์์ ๋๊ธฐํํ์ธ์.
์์:
npx @capgo/cli@latest build sync-ios-version --path .์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โpath | string | ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ์ ๊ฒฝ๋ก (๊ธฐ๋ณธ: ํ์ฌ ๋๋ ํ ๋ฆฌ) |
| โcheck | boolean | ์ฒดํฌ๋ง; MARKETING_VERSION์ด ๋๊ธฐํ๋์ง ์์ ๊ฒฝ์ฐ 0์ด ์๋ ๊ฐ์ ๋ฐํํฉ๋๋ค. |
๐น ๐น ํ๋ก์ ํธ ์ค์บ
ํ๋ก์ ํธ ์ค์บnpx @capgo/cli@latest build prescanํ๋ก์ ํธ์ ์ ์ฅ๋ ์๊ฒฉ ์ฆ๋ช
์ ์
๋ก๋ํ๊ธฐ ์ ์ cloud ๋น๋๊ฐ ์คํจํ๋ ๋ฌธ์ ๋ฅผ ์ค์บํ๊ณ โ ์
๋ก๋ํ๊ธฐ ์ ์. build request์๊ฒฉ ์ฆ๋ช
(๋ง๋ฃ, ์ํธ, ํ๋กํ Pairing), ํ๋ก์ ํธ ์ํ(cap sync, node_modules ๋ ์ด์์), ํ๋ซํผ ๊ตฌ์ฑ ํ์ธ. ์๋์ผ๋ก ์คํ๋๋ฉฐ CI์์ standalone๋ก ์คํํฉ๋๋ค. ์์ธํ ๋ด์ฉ์ --skip / --warn ํ๋ก์ ํธ ์ค์บ์
์ ์ฒด ์ฒดํฌ ์นดํ๋ก๊ทธ ๋ฐ
| ๊ฐ๋ณ ๊ท์น์ ๋ํด | ์ต์ : | ์ค๋ช |
|---|---|---|
| โํ๋ซํผ | string | ๋ชฉํ ํ๋ซํผ: ios ๋๋ android (ํ์) |
| โ๊ฒฝ๋ก | string | ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ์ ๊ฒฝ๋ก (๊ธฐ๋ณธ: ํ์ฌ ๋๋ ํ ๋ฆฌ) |
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| โ์๋๋ก์ด๋ ํ๋๋ฒ | string | ์๋๋ก์ด๋: ๋น๋์ ์ฌ์ฉํ ์ ํ ํ๋๋ฒ |
| โiOS ๋ฐฐํฌ | string | iOS: ๋ฐฐํฌ ๋ชจ๋๋ฅผ ๊ฒ์ฆํ ๊ฒ |
| โJSON | boolean | ๊ธฐ๊ณ๊ฐ ์ฝ์ ์ ์๋ JSON ๋ณด๊ณ ์๋ฅผ ์ถ๋ ฅํฉ๋๋ค. |
| __CAPGO_KEEP_0__ | boolean | ๊ฒฝ๊ณ ๊ฐ ๋ฐ๊ฒฌ๋ ๊ฒฝ์ฐ 0์ด ์๋ ๊ฐ์ ๋ฐํํฉ๋๋ค (CI) |
| __CAPGO_KEEP_0__ | boolean | ่จบๆญ ๋ชจ๋: ๋ชจ๋ ๊ฒ์ ๋ณด๊ณ ํญ์ 0์ ๋ฐํํฉ๋๋ค |
| __CAPGO_KEEP_0__ | string | ํน์ ์ฒดํฌ๋ฅผ ์๋ตํฉ๋๋ค (๋ฐ๋ณต ๋๋ ์ผํ๋ก ๊ตฌ๋ถ) |
| __CAPGO_KEEP_0__ | string | ํน์ ์ฒดํฌ๋ฅผ ๊ฒฝ๊ณ ๋ก ๋ด๋ฆฝ๋๋ค (๋ฐ๋ณต ๋๋ ์ผํ๋ก ๊ตฌ๋ถ) |
| __CAPGO_KEEP_0__ | boolean | ์ธ๋ถ ๋ก๊น ๊ณผ ํจ๊ป ์์ธํ ์ถ๋ ฅ์ ํ์ฑํํฉ๋๋ค |
| __CAPGO_KEEP_0__ | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| ---supa-anon | string | ๊ฐ์ธ ํธ์คํ ์ ์ํด ์ฌ์ฉํ๋ ์ปค์คํ Supabase anon ํค |
๐น ๋ง์ง๋ง ์ถ๋ ฅ
์ ๋ชฉ ' ๐น Last-output'npx @capgo/cli@latest build last-output์ด์ ์ผ๋ก ๊ธฐ๋ก๋ ๋น๋ ์ถ๋ ฅ์ ์ฝ์ต๋๋ค. build request --output-record.
๊ธฐ๋ณธ์ ์ผ๋ก JSON ์ ์ฒด๋ฅผ ์ถ๋ ฅํ๊ณ โfield๋ฅผ ์ฌ์ฉํ์ฌ ๋จ์ผ field๋ฅผ ์ถ๋ ฅํ๊ฑฐ๋ ASCII QR๋ฅผ ์ถ๋ ฅํฉ๋๋ค.
code๋ฅผ ์ฌ์ฉํ์ฌ CI์์ ๋ค์ด๋ก๋ URL ๋๋ QR๋ฅผ ๊ฐ์ ธ์ PR ๋๋ ์ด์์ ๋ค์ ๊ฒ์ํ ์ ์์ต๋๋ค.
์์:
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
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โpath | string | JSON ๊ธฐ๋ก์ ์์ฑํ๋ โoutput-record ์ต์ ์ ๊ฒฝ๋ก (ํ์) |
| โfield | string | ๋ค์ ์ค ํ๋์ field๋ฅผ ์ถ๋ ฅํฉ๋๋ค: jobId, appId, platform, buildMode, status, outputUrl, qrCodeAscii, qrCodePngPath, finishedAt, schemaVersion |
| โqr | boolean | Print the rendered ASCII QR code (shortcut for โfield qrCodeAscii) |
๐น ์ธ์ฆ ์ ๋ณด
์ธ์ฆ ์ ๋ณด ๊ด๋ฆฌ์ธ์ฆ ์ ๋ณด๋ฅผ ์ ์ฅํ ๊ฒฝ๋ก: ~/.__CAPGO_KEEP_0__-credentials/credentials.json (์ ์ญ) ๋๋ .__CAPGO_KEEP_1__-credentials.json (์ง์ญ)
- Credentials saved to ~/.capgo-credentials/credentials.json (global) or .capgo-credentials.json (local)
- Capgo
- ๋น๋ ํ Capgo์์ ์ฆ์ ์ญ์
- ๋น๋ ์ถ๋ ฅ๋ฌผ์ ์๊ฐ ์ ํ๋ ๋ค์ด๋ก๋ ๋งํฌ๋ก ์ต์ ์ผ๋ก ์ ๋ก๋ํ ์ ์์ต๋๋ค. ๐ ๋ฌธ์: iOS ์ค์ : https://capgo.app/docs/cli/cloud-build/ios/ Android ์ค์ : https://capgo.app/docs/cli/cloud-build/android/
๐น Apple-key
์ ๋ชฉ: ๐น Apple-keyAlias: asc-key
npx @capgo/cli@latest build credentials apple-keyApp Store Connect ํ API ํค๋ฅผ macOS ์ ์ฉ ๊ฐ์ด๋ ๋์ฐ๋ฏธ๋ฅผ ์ฌ์ฉํ์ฌ macOS์์๋ง ์์ฑํ์ธ์. App Store Connect UI ๋ด์ ์๋ฒ ๋๋ ๋ธ๋ผ์ฐ์ ๋ฅผ ํตํด Apple์ UI๋ฅผ walks throughํฉ๋๋ค. Issuer ID + Key ID๋ฅผ ์๋์ผ๋ก ์บก์ฒํ๊ณ , ์ผํ์ฉ .p8๋ฅผ ์ค๊ฐ์ๆช่ทํ๊ณ , Apple๊ณผ ์ ํจ์ฑ์ ๊ฒ์ฌํ๊ณ , ~/.appstoreconnect/private_keys์ ์ ์ฅํฉ๋๋ค. progress statistics๋ Capgo ๋ถ์์ ์ ๋ฌ๋ฉ๋๋ค (CAPGO_DISABLE_TELEMETRY๋ก ๋นํ์ฑํ). npx @capgo/cli build credentials apple-key โappId com.example.app
์์:
Example:์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -a | string | API ํค๋ฅผ ์ฌ์ฉํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐ |
| --appId | string | ์ด ์ฑ iOS ๋น๋ ์ธ์ฆ์์ ์บก์ฒ๋ ํค๋ฅผ ์ ์ฅ |
| --local | boolean | ์ ์ญ ํ์ผ ๋์ ํ๋ก์ ํธ๋ณ .capgo-credentials.json ํ์ผ์ ์ ์ฅ |
| โjson | boolean | JSON ํ์์ผ๋ก ์บก์ฒ๋ Key ID / Issuer ID / .p8 ๊ฒฝ๋ก๋ฅผ ์ถ๋ ฅํฉ๋๋ค. |
๐น ์ ์ฅ
์ ์ฅnpx @capgo/cli@latest build credentials saveiOS ๋๋ 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
โcertificate ./cert.p12 โp12-password โpasswordโ
โios-provisioning-profile ./profile.mobileprovision
โapple-key ./AuthKey.p8 โapple-key-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
โios-provisioning-profile ./App.mobileprovision
โios-provisioning-profile com.example.widget=./Widget.mobileprovision
โฆ npx @capgo/cli build credentials save โplatform android
โkeystore ./release.keystore โkeystore-alias โmy-keyโ
โkeystore-key-password โkey-passโ
โplay-config ./service-account.json Local storage (per-project): npx @capgo/cli build credentials save โlocal โplatform ios โฆ
Example:
iOS Example:์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| --appId | string | ์ ํ๋ฆฌ์ผ์ด์ ID (์: com.example.app) (ํ์) |
| --platform | string | ํ๋ซํผ: ios ๋๋ android (ํ์) |
| --certificate | string | iOS: .p12 ์ธ์ฆ์ ํ์ผ ๊ฒฝ๋ก |
| โios-์ธ์ฆ์-ํ๋กํ์ผ | string | iOS: ์ธ์ฆ์ ํ๋กํ์ผ ๊ฒฝ๋ก ๋๋ bundleId=path (๋ฐ๋ณต ๊ฐ๋ฅ) |
| โp12-๋น๋ฐ๋ฒํธ | string | iOS: ์ธ์ฆ์ ๋น๋ฐ๋ฒํธ (์ธ์ฆ์์ ๋น๋ฐ๋ฒํธ๊ฐ ์์ผ๋ฉด ์ ํ ์ฌํญ) |
| โapple-ํค | string | iOS: .p8 App Store Connect API ํค ๊ฒฝ๋ก |
| โapple-ํค-์์ด๋ | string | iOS: App Store Connect API ํค ID |
| โapple-๋ฐ๊ธ์-์์ด๋ | string | iOS: App Store Connect ๋ฐ๊ธ์ ID |
| โapple-ํ-์์ด๋ | string | iOS: App Store Connect ํ ID |
| โios-๋ฐฐํฌ | string | iOS: ๋ฐฐํฌ ๋ชจ๋ |
| โ์ ํ-์์ด๋ | string | iOS: ์ ํ ID ์ด๋ฉ์ผ (App Store Connect API ํค ๋์ฒด) |
| โ์ ํ-์ฑ-ํน์ -ํจ์ค์๋ | string | iOS: ํ ์คํธ ํ๋ผ์ดํธ ์ ๋ก๋๋ฅผ ์ํ ์ฑ ํน์ ํจ์ค์๋ (xxxx-xxxx-xxxx-xxxx) |
| โ์ ํ-์ฑ-์์ด๋ | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ์ฑ ์์ด๋ (์ ํ ์์ด๋์ ์ฑ ํน์ ํจ์ค์๋์ ํจ๊ป ํ์) |
| โkeystore | string | ์๋๋ก์ด๋: Keystore ํ์ผ ๊ฒฝ๋ก (.keystore ๋๋ .jks) |
| โkeystore-alias | string | ์๋๋ก์ด๋: Keystore ํค ๋ณ์นญ |
| ---keystore-key-password | string | ์๋๋ก์ด๋: Keystore ํค ๋น๋ฐ๋ฒํธ |
| ---keystore-store-password | string | ์๋๋ก์ด๋: Keystore ์ ์ฅ์ ๋น๋ฐ๋ฒํธ |
| ---play-config | string | ์๋๋ก์ด๋: Play ์คํ ์ด ์๋น์ค ๊ณ์ JSON์ ๊ฒฝ๋ก |
| ---android-flavor | string | ์๋๋ก์ด๋: ๋น๋ํ ์ ํ์ ๋ง์ง (์: ํ๋ก๋์ ). ํ๋ก์ ํธ๊ฐ ์ฌ๋ฌ ๋ง์ง์ ๊ฐ์ง๊ณ ์๋ค๋ฉด ํ์์ ๋๋ค. |
| ---in-app-update-priority | string | ์๋๋ก์ด๋: ๊ตฌ๊ธ ํ๋ ์ด ๋ด ์ฑ ์ ๋ฐ์ดํธ ์ฐ์ ์์ (์ ์ 0โ5; ๋ ๋์์๋ก ๋ ๊ธํฉ๋๋ค). ์๋ตํ๋ฉด Play์ ๊ธฐ์กด ๊ฐ์ด ์ ์ง๋ฉ๋๋ค. |
| ---local | boolean | ํ๋ก์ ํธ ๋ฃจํธ์ .capgo-credentials.json์ ์ ์ฅํ๊ธฐ ๋์ ์ ์ญ ~/.capgo-credentials/์ ์ ์ฅํฉ๋๋ค. |
| โ์ถ๋ ฅ ์ ๋ก๋ | boolean | ๋น๋ ์ถ๋ ฅ (IPA/APK/AAB)์ Capgo ์ ์ฅ์์ ์ ๋ก๋ํ๊ณ ๋ค์ด๋ก๋ ๋งํฌ๋ฅผ ์ถ๋ ฅํฉ๋๋ค. |
| โ์ถ๋ ฅ ์ ๋ก๋ ๋นํ์ฑํ | boolean | ๋น๋ ์ถ๋ ฅ (IPA/APK/AAB)์ Capgo ์ ์ฅ์์ ์ ๋ก๋ํ์ง ์์ต๋๋ค. |
| โ์ถ๋ ฅ ๋ณด์กด | string | ์ถ๋ ฅ ๋งํฌ TTL: 1์๊ฐ์์ 7์ผ (๊ธฐ๋ณธ: 1์๊ฐ). ์์: 1์๊ฐ, 6์๊ฐ, 2์ผ |
| โ๋น๋ ๋ฒํธ ์ฆ๊ฐ ๊ฑด๋๋ฐ๊ธฐ | boolean | ๋ฏธ๋ ๋น๋์์ ์๋ ๋น๋ ๋ฒํธ/๋ฒ์ code ์ฆ๊ฐ๋ฅผ ๊ฑด๋๋ฐ์ธ์. |
| โ๋น๋ ๋ฒํธ ์ฆ๊ฐ ๊ฑด๋๋ฐ๊ธฐ ๋นํ์ฑํ | boolean | ์๋ ๋น๋ ๋ฒํธ ์ฆ๊ฐ๋ฅผ ์ฌ ํ์ฑํํฉ๋๋ค (๊ธฐ๋ณธ ๋์) |
| โ๋ง์ผํ ๋ฒ์ ์ฆ๊ฐ ๊ฑด๋๋ฐ๊ธฐ | boolean | ์ฑ์ด ์ด๋ฏธ ์ถ์๋ ๊ฒฝ์ฐ ๋ฏธ๋ ๋น๋์์ ์๋ ๋ง์ผํ ๋ฒ์ ์ฆ๊ฐ๋ฅผ ๊ฑด๋๋ฐ์ธ์. |
| โno-skip-marketing-version-bump | boolean | ์๋ ๋ง์ผํ ๋ฒ์ ์ ๋ฐ์ดํธ๋ฅผ ๋ค์ ํ์ฑํํฉ๋๋ค (๊ธฐ๋ณธ ๋์) |
๐ ๋ชฉ๋ก
๋ชฉ๋ก ์ ๋ชฉnpx @capgo/cli@latest build credentials list์ ์ฅ๋ ๋น๋ ์๊ฒฉ ์ฆ๋ช ๋ชฉ๋ก (๋น๋ฐ๋ฒํธ๊ฐ ๊ฐ๋ ค์ ธ ์์ต๋๋ค). ํ์ฌ ์ ์ฅ๋ ์๊ฒฉ ์ฆ๋ช (์ ์ญ ๋ฐ ์ง์ญ ๋ชจ๋)์ ๋ณด์ฌ์ค๋๋ค. ์์: npx @capgo/cli build credentials list # ๋ชจ๋ ์ฑ ๋ชฉ๋ก npx @capgo/cli build credentials list โappId com.example.app # ํน์ ์ฑ ๋ชฉ๋ก
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| ์ฑ ID | string | ์ฑ ID๋ฅผ ๋ชฉ๋ก์ ์ถ๊ฐ (์ ํ ์ฌํญ, ์๋ต ์ ๋ชจ๋ ํญ๋ชฉ์ ๋ชฉ๋ก์ ์ถ๊ฐ) |
| โlocal | boolean | ๋ก์ปฌ .capgo-credentials.json์์๋ง ์๊ฒฉ ์ฆ๋ช ์ ๋ชฉ๋กํฉ๋๋ค. |
๐น Clear
Clearnpx @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
์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| โ์ฑ ์์ด๋ | string | ์ฑ ์์ด๋๋ฅผ ์ง์ฐ๋ ค๋ฉด (์ ํ ์ฌํญ, ๋ชจ๋ ์ฑ์ ์ง์ฐ๋ฉด omitted) |
| โํ๋ซํผ | string | ํด๋ฆฌ์ดํ ํ๋ซํผ: ios ๋๋ android (์ ํ ์ฌํญ, ๋ชจ๋ ํ๋ซํผ์ ์ง์ฐ๋ฉด omitted) |
| โ๋ก์ปฌ | boolean | ๋ก์ปฌ .capgo-credentials.json ๋์ ๊ธ๋ก๋ฒ์์ ์ง์ฐ๋ ค๋ฉด |
๐น ์ ๋ฐ์ดํธ
์ ๋ฐ์ดํธ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
์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| โappId | string | ์ ํ๋ฆฌ์ผ์ด์ ID (์๋์ผ๋ก capacitor.config์์ ์ถ์ถ๋๋ฉฐ ์๋ต ์ omitted) |
| โplatform | string | ํ๋ซํผ: ios ๋๋ android (์ต์ ์์ ์๋์ผ๋ก ์ถ์ถ) |
| โlocal | boolean | ์ง์ญ capgo-credentials.json์ ์ ๋ฐ์ดํธํ๋ ๋์ ์ ์ญ |
| โcertificate | string | P12 ์ธ์ฆ์ ํ์ผ ๊ฒฝ๋ก |
| โios-provisioning-profile | string | ์ค์ ํ๋กํ์ผ ๊ฒฝ๋ก ๋๋ bundleId=path (๋ฐ๋ณต ๊ฐ๋ฅ, ๊ธฐ๋ณธ์ ์ผ๋ก ์ถ๊ฐ) |
| โoverwrite-ios-provisioning-map | boolean | ์ ์ฒด ์ค์ ํ๋กํ์ผ ๋์ ๋ณํฉํ๋ ๋์ ๋์ฒด (๊ธฐ๋ณธ: ๋ณํฉ) |
| โp12-password | string | P12 ์ธ์ฆ์ ์ํธ |
| โapple-key | string | App Store Connect API ํค (.p8 ํ์ผ) ๊ฒฝ๋ก |
| โapple-key-id | string | App Store Connect API ํค ID |
| โapple-issuer-id | string | App Store Connect ๋ฐ๊ธ์ ID |
| โapple-team-id | string | ์ ํ ์คํ ์ด ์ฐ๊ฒฐ ํ ID |
| โ์ ํ ์์ด๋ | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ API ํค ๋์ ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ์ด๋ฉ์ผ์ ์ํ ์ฑ๋ณ ์ํธ ์ ๋ก๋ (๋์) |
| โ์ ํ ์ฑ๋ณ ์ํธ | string | iOS: ํ ์คํธ ํ๋ผ์ดํธ ์ ๋ก๋๋ฅผ ์ํ ์ฑ๋ณ ์ํธ (xxxx-xxxx-xxxx-xxxx) |
| โ์ ํ ์ฑ ์์ด๋ | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ์ฑ ์์ด๋ (์ ํ ์์ด๋์ ์ฑ๋ณ ์ํธ, โapple-app-specific-password์ ํจ๊ป ํ์) |
| โiOS ๋ฐฐํฌ | string | iOS: ๋ฐฐํฌ ๋ชจ๋ |
| โํค์คํ ์ด | string | ํค์คํ ์ด ํ์ผ ๊ฒฝ๋ก (.keystore ๋๋ .jks) |
| โํค์คํ ์ด ๋ณ๋ช | string | __CAPGO_KEEP_0__ |
| __CAPGO_KEEP_0__ | string | __CAPGO_KEEP_0__ |
| __CAPGO_KEEP_0__ | string | __CAPGO_KEEP_0__ |
| __CAPGO_KEEP_0__ | string | __CAPGO_KEEP_0__ |
| __CAPGO_KEEP_1__ | string | __CAPGO_KEEP_2__ |
| __CAPGO_KEEP_3__ | string | __CAPGO_KEEP_4__ |
| __CAPGO_KEEP_5__ | boolean | ๋น๋ ์ถ๋ ฅ (IPA/APK/AAB)์ Capgo ์ ์ฅ์์ ์ ๋ก๋ํ๊ณ ๋ค์ด๋ก๋ ๋งํฌ๋ฅผ ์ถ๋ ฅํฉ๋๋ค. |
| โno-output-upload | boolean | ๋น๋ ์ถ๋ ฅ (IPA/APK/AAB)์ Capgo ์ ์ฅ์์ ์ ๋ก๋ํ์ง ์์ต๋๋ค. |
| โoutput-retention | string | ์ถ๋ ฅ ๋งํฌ TTL: 1์๊ฐ์์ 7์ผ๊น์ง. ์์: 1์๊ฐ, 6์๊ฐ, 2์ผ |
| โskip-build-number-bump | boolean | ๋ฏธ๋ ๋น๋์์ ์๋ ๋น๋ ๋ฒํธ/๋ฒ์ code ์ฆ๊ฐ๋ฅผ ์๋ตํฉ๋๋ค. |
| โno-skip-build-number-bump | boolean | ์๋ ๋น๋ ๋ฒํธ ์ฆ๊ฐ๋ฅผ ์ฌ ํ์ฑํํฉ๋๋ค (๊ธฐ๋ณธ ๋์) |
| โskip-marketing-version-bump | boolean | ์ฑ์ด ์ด๋ฏธ ์ถ์๋์์ ๋ ๋ฏธ๋ ๋น๋์์ ์๋ ๋ง์ผํ ๋ฒ์ ์ ๋ฐ์ดํธ๋ฅผ ์๋ตํฉ๋๋ค. |
| โno-skip-marketing-version-bump | boolean | ์๋ ๋ง์ผํ ๋ฒ์ ์ ๋ฐ์ดํธ๋ฅผ ๋ค์ ํ์ฑํ (๊ธฐ๋ณธ ๋์) |
๐น ๊ด๋ฆฌ
๊ด๋ฆฌ ์ ๋ชฉnpx @capgo/cli@latest build credentials manage์ ์ฅ๋ ๋น๋ ์ธ์ฆ์๋ฅผ ์ํธ ์์ฉ์ ์ผ๋ก ๊ด๋ฆฌํฉ๋๋ค. ์ ์ฅ๋ ์ธ์ฆ์๋ฅผๆต่งํ๊ณ ๊ตฌ์ฑ๋ ํญ๋ชฉ์ ํ์ธํ๊ฑฐ๋ CI/CD-์ค๋น๋ .env ํ์ผ์ ๋ด๋ณด๋ด๊ฑฐ๋ ํ๋ซํผ์ ์ธ์ฆ์๋ฅผ ์ญ์ ํ ์ ์์ต๋๋ค. ๋์ผํ TUI๋ฅผ ์ฌ์ฌ์ฉํฉ๋๋ค. capgo init.
์์:
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
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| ์ฑ ID | string | ์ ํ๋ฆฌ์ผ์ด์ ID ๊ด๋ฆฌ (์ ํ ์ฌํญ, ์๋ต ์ ์ ํํ๋๋ก ์ ๋) |
| โ ํ๋ซํผ | string | ๊ด๋ฆฌํ ํ๋ซํผ: ios ๋๋ android (์ ํ ์ฌํญ, ์๋ต ์ ์ ํํ๋๋ก ์ ๋) |
| โ ๋ก์ปฌ | boolean | ๋ก์ปฌ์ ์๋๋ง .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:์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โappId | string | ์ฑ ID (์๋์ผ๋ก capacitor.config์์ ์ถ์ถ๋๋ฉฐ ์๋ต ์) |
| โplatform | string | ํ๋ซํผ (ํ์ฌ ios๋ง ์ง์) |
| โlocal | boolean | ์ ์ญ ๋์ ๋ก์ปฌ .capgo-credentials.json์์ ๋ง์ด๊ทธ๋ ์ด์ |