๐น ๋น๋
์ด ํ๋ฌ๊ทธ์ธ์ ์ค์น ๋จ๊ณ์ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๋ฅผ ํฌํจํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๋ณต์ฌํ์ธ์.
๐๏ธ Capgo Cloud๋ฅผ ํตํด ๋ค์ดํฐ๋ธ iOS/Android ๋น๋๋ฅผ ๊ด๋ฆฌํ์ธ์.
๋น๋ ์ ๊ทผ ๋ฐ ์ถ๋ ฅ
๊ตฌ์ถ ์ ๊ทผ ๋ฐ ์ถ๋ ฅ ์น์ ๋ค์ดํฐ๋ธ ํด๋ผ์ฐ๋ ๋น๋๋ ๋ชจ๋ Capgo ๊ณํ์์ ์ฌ์ฉํ ์ ์์ต๋๋ค. ๋น๋ ์๊ฒฉ ์ฆ๋ช ์ Capgo ์๋ฒ์ ์ ์ฅ๋์ง ์์ต๋๋ค: ๋น๋๋ง ์ฌ์ฉํ๊ณ ์ญ์ ๋ฉ๋๋ค. ๋น๋ ์ถ๋ ฅ์ ์ต์ ์ผ๋ก ์๊ฐ ์ ํ๋ ๋ค์ด๋ก๋ ๋งํฌ์ ํจ๊ป ์ ๋ก๋ํ ์ ์์ต๋๋ค.
์๊ฒฉ ์ฆ๋ช ์ ์ฅํ๊ธฐ
ํฐ๋ฏธ๋ ์ฐฝnpx @capgo/cli build credentials save --appId YOUR_APP_ID --platform iosnpx @capgo/cli build credentials save --appId YOUR_APP_ID --platform androidPass --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์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| -c | string | ๋น๊ตํ ์ฑ๋. ๊ธฐ๋ณธ๊ฐ์ CapacitorUpdater.defaultChannel ๋๋ ๊ณต๊ณต ๊ธฐ๋ณธ ์ฑ๋ |
| โ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 ํค |
๐ Init
InitAlias: 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 | ์ฌ์ฉ์ ์ง์ Supabase ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ Capgo ๊ฐ๋ฐ์ฉ) |
| โno-analytics | boolean | ์ด ์คํ์ ๋ํด ๋น๋ ์จ๋ณด๋ฉ ๋ถ์ ๋ฐ ํฐ๋ฏธ๋ ์ฌ์์ ๋นํ์ฑํ |
๐น ์์ฒญ
โ ๐น ์์ฒญโ ์ ๋ชฉ์ ์น์ npx @capgo/cli@latest build requestCapgo ํด๋ผ์ฐ๋์์ ๋ค์ดํฐ๋ธ ๋น๋๋ฅผ ์์ฒญํ์ญ์์ค. ์ด ๋ช ๋ น์ด๋ ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ๋ฅผ ์์ถํ์ฌ 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 .์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โ๊ฒฝ๋ก | 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: ์ ํ ID ์ด๋ฉ์ผ (์ฑ ์คํ ์ด ์ฐ๊ฒฐ API ํค ์ ๋ก๋์ ๋์) |
| โapple-app-specific-password | string | iOS: ํ ์คํธ ํ๋ผ์ดํธ ์ ๋ก๋๋ฅผ ์ํ ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ์ฑ ์คํ ์ด ID (xxxx-xxxx-xxxx-xxxx) |
| โapple-app-id | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ์ฑ ID (์ฑ ์คํ ์ด ์ฐ๊ฒฐ โapple-id ๋ฐ โapple-app-specific-password์ ํจ๊ป ํ์) |
| โapple-key-id | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ API ํค ID |
| โapple-issuer-id | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ๋ฐ๊ธ์ ID |
| โapple-key-content | string | iOS: Base64-์ธ์ฝ๋ฉ ์ฑ ์คํ ์ด ์ฐ๊ฒฐ 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์ ์ฌ์ฉํ์ฌ ๋น๋ ์ค์ ์ ์ฝ๊ธฐ (๊ธฐ๋ณธ๊ฐ: scheme๊ณผ ๋์ผ) |
| โios-distribution | string | iOS: ๋ฐฐํฌ ๋ชจ๋ |
| โios-provisioning-profile | string | iOS: ๋ฐฐํฌ ํ๋กํ์ผ ๊ฒฝ๋ก ๋๋ bundleId=path mapping (๋ฐ๋ณต ๊ฐ๋ฅ) |
| โandroid-keystore-file | string | Android: Base64๋ก ์ธ์ฝ๋ฉ๋ ํค์คํ ์ด ํ์ผ |
| โkeystore-key-alias | string | ์๋๋ก์ด๋: ํค์คํ ์ด ํค ๋ณ์นญ |
| __CAPGO_KEEP_0__ | string | ์๋๋ก์ด๋: ํค์คํ ์ด ํค ๋น๋ฐ๋ฒํธ |
| __CAPGO_KEEP_0__ | string | ์๋๋ก์ด๋: ํค์คํ ์ด ์ ์ฅ์ ๋น๋ฐ๋ฒํธ |
| __CAPGO_KEEP_0__ | string | ์๋๋ก์ด๋: Google Play ์๋น์ค ๊ณ์ JSON (Base64 ์ธ์ฝ๋ฉ) |
| โandroid-flavor | string | ์๋๋ก์ด๋: ์ ํ ํ๋๋ฒ๋ฅผ ๋น๋ํ๋ ๋ฐ ์ฌ์ฉํ๋ ํ๋๋ฒ (์: ํ๋ก๋์ ). ํ๋ก์ ํธ์ ์ฌ๋ฌ ํ๋๋ฒ๊ฐ ์๋ ๊ฒฝ์ฐ ํ์์ ๋๋ค. |
| ์๋๋ก์ด๋: ๋ฆด๋ฆฌ์ฆ ์ํ | string | CLI |
| __CAPGO_KEEP_0__ | string | ์๋๋ก์ด๋: Google Play ๋ฐฐํฌ ์ํ (draft, completed, inProgress, halted). โsubmit-to-store-review ์ต์ ์์ผ๋ฉด draft. โsubmit-to-store-review ์ต์ ๊ณผ ์ํ ์ค์ ์์ผ๋ฉด completed. ์ฐ์ ์์: CLI > env > ์ ์ฅ๋ ์ธ์ฆ์ |
| โin-app-update-priority | string | ์๋๋ก์ด๋: Google Play ๋ด ์ฑ ์ ๋ฐ์ดํธ ์ฐ์ ์์ (์ ์ 0โ5; ๋ ๋์์๋ก ๋ ๊ธํฉ๋๋ค). ์์ธํ ๋ด์ฉ์ https://developer.android.com/guide/playcore/in-app-updates์ ์ฐธ์กฐํ์ธ์. ์ฐ์ ์์: CLI > env > ์ ์ฅ๋ ์ธ์ฆ์ |
| โno-playstore-upload | boolean | ์ด ๋น๋์ ๋ํ Play Store ์ ๋ก๋๋ฅผ ์๋ตํฉ๋๋ค (์ ์ฅ๋ ํ๋ ์ด ๊ตฌ์ฑ null๋ก ์ค์ ). โoutput-upload ์ต์ ํ์ |
| โsubmit-to-store-review | boolean | ์ ๋ก๋ ํ ์คํ ์ด ๋ฆด๋ฆฌ์ฆ๋ฅผ ๊ฒํ ์์ฒญ ๋์ draft/inactive ๋น๋๋ก ๋จ๊น๋๋ค. ์๋๋ก์ด๋์์๋ ์ด ๊ธฐ๋ณธ๊ฐ์ ํ๋ก๋์ ํธ๋์ completed ์ํ๋ก (โandroid-track / PLAY_STORE_TRACK ๋ฐ โandroid-release-status / PLAY_STORE_RELEASE_STATUS๋ก override) ์ค์ ๋ฉ๋๋ค. iOS์์๋ ์ฒ๋ฆฌ๋ TestFlight ๋น๋๋ฅผ App Store ๊ฒํ ์ ์ ์ถํฉ๋๋ค. |
| โstore-release-name | string | ์คํ ์ด ๋ฆด๋ฆฌ์ฆ ์ด๋ฆ/๋ฒ์ ๋ ์ด๋ธ. ์๋๋ก์ด๋์์๋ Google Play ๋ฒ์ ์ด๋ฆ์ผ๋ก ์ ์กํ๊ณ iOS์์๋ App Store ๋ฒ์ ์ ๋ง๋ค๊ฑฐ๋ ํธ์งํ ๋ ์ฌ์ฉํฉ๋๋ค. |
| โstore-release-notes | string | ๊ธฐ๋ณธ ์คํ ์ด ๋ฆด๋ฆฌ์ฆ ๋ ธํธ. ์๋๋ก์ด๋์์๋ ์ด ๊ฒ์ ํ๋ ์ด ์ฐจํธ๋ก๊ทธ๋ก ์ฌ์ฉํ๊ณ , iOS์์๋ ๊ธฐ๋ณธ ์ฑ ์คํ ์ด '๋ฌด์์ด ์๋ก์ด๊ฐ?' ํ ์คํธ๋ก ์ฌ์ฉํฉ๋๋ค. |
| __CAPGO_KEEP_0__ | string | ์ง์ญํ๋ ์คํ ์ด ๋ฆด๋ฆฌ์ฆ ๋ ธํธ (๋ฐ๋ณต ๊ฐ๋ฅ), ์๋ฅผ ๋ค์ด โstore-release-notes-locale en-US=โ๋ฒ๊ทธ ์์ โ โstore-release-notes-locale fr-FR=โ์์ โ. |
| __CAPGO_KEEP_0__ | string | iOS: ์ธ๋ถ ๋ฒ ํ ๋ฐฐํฌ๋ฅผ ์ํ ์ธ๋ถ ๊ทธ๋ฃน ์ด๋ฆ ๋๋ ID์ ์ผํ๋ก ๊ตฌ๋ถ๋ ๋ชฉ๋ก์ ๋๋ค. |
| __CAPGO_KEEP_0__ | boolean | iOS: ์ ํ ์น์ธ ํ ์๋์ผ๋ก ์ฑ ์คํ ์ด ๋ฒ์ ์ ๋ฆด๋ฆฌ์ฆํฉ๋๋ค. ๊ธฐ๋ณธ๊ฐ์ ์๋ ๋ฆด๋ฆฌ์ฆ์ ๋๋ค. |
| __CAPGO_KEEP_0__ | boolean | iOS: ์ ํ ์น์ธ ํ ์๋ ๋ฆด๋ฆฌ์ฆ๋ฅผ ๊ธฐ๋ค๋ฆฝ๋๋ค. |
| __CAPGO_KEEP_0__ | boolean | ์ด ๋น๋๋ง์ ์ํ ์ถ๋ ฅ ์ ๋ก๋ ๋์์ ์ค๋ฒ๋ผ์ด๋ํฉ๋๋ค (ํ์ฑํ). ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์๊ฒฉ์ฆ๋ช |
| __CAPGO_KEEP_0__ | boolean | ์ด ๋น๋๋ง์ ๋ํ ์ถ๋ ฅ ์ ๋ก๋ ๋์์ ์ค๋ฒ๋ผ์ด๋ํฉ๋๋ค (๋นํ์ฑํ). ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ์ถ๋ ฅ ๋ณด์กด | string | ์ด ๋น๋๋ง์ ๋ํ ์ถ๋ ฅ ๋งํฌ TTL์ ์ค๋ฒ๋ผ์ด๋ํฉ๋๋ค (1์๊ฐ์์ 7์ผ). ์์: 1์๊ฐ, 6์๊ฐ, 2์ผ. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ์ถ๋ ฅ ๊ธฐ๋ก | string | ์ฑ๊ณตํ ๋น๋ ํ, JSON ๊ธฐ๋ก (jobId, ์ํ, ์ถ๋ ฅ URL, QR ์ฝ๋ ASCII, QR ์ฝ๋ PNG ๊ฒฝ๋ก, ์๋ฃ ์๊ฐ)์ ๊ฒฝ๋ก์ ๊ธฐ๋กํฉ๋๋ค. PNG QR code๋ ๊ทธ ๊ฒฝ๋ก์ ๋ถ์ด์๋ suffix์ ํจ๊ป ๊ธฐ๋ก๋ฉ๋๋ค. .qr.png suffix๋ฅผ ์ฝ์ด์ค๋ ค๋ฉด build last-output. |
| โ์บ์ ๋ฌดํจํ | boolean | ๋น๋ ์บ์ ๋ณต์ ์๋ต and โ์บ์ ํค |
| โcache-key | string | โ prod, staging. ์ฑ๋น ํ๋์ ๊ณต์ ๊ธฐ๋ณธ ์บ์๋ฅผ ์๋ตํฉ๋๋ค. |
| โno-skip-build-number-bump | boolean | ์ด ๋น๋๋ง์ ์ํด ์๋ ๋น๋ ๋ฒํธ ์ฆ๊ฐ๋ฅผ ์ฌ ํ์ฑํ ํ๊ธฐ ์ํด ์ ์ฅ๋ ์๊ฒฉ ์ฆ๋ช ์ ์ฌ ์ ์ํฉ๋๋ค. |
| โskip-marketing-version-bump | boolean | ์ฑ์ด ์ด๋ฏธ ์ถ์๋ ๊ฒฝ์ฐ ์๋ ๋ง์ผํ ๋ฒ์ (CFBundleShortVersionString / versionName) ์ฆ๊ฐ๋ฅผ ์๋ตํฉ๋๋ค. |
| โsync-ios-version | boolean | iOS: package.json์์ Xcode MARKETING_VERSION์ sync ํ๊ธฐ ์ ์ ํ๋ก์ ํธ๋ฅผ ์ ๋ก๋ํ๊ธฐ ์ ์. |
| โai-analytics | boolean | ๋น๋ ์คํจ ์, Capgo AI๋ก ๋ก๊ทธ๋ฅผ ์ ์กํฉ๋๋ค. ์ธํฐ๋ํฐ๋ธ ํฐ๋ฏธ๋์์ ์ด ์ต์ ์ ์ฌ์ ํ์ธ์ ์๋ตํ๊ณ CI์์ ์ด ์ต์ ์ ์๋ ์ ๋ก๋ ๋ฐ ์๋ฌ ์คํธ๋ฆผ์ผ๋ก ๋ถ์ ๊ฒฐ๊ณผ๋ฅผ ์ถ๋ ฅํฉ๋๋ค. |
| โno-prescan | boolean | ์๋ํ๋ ์ ๋น๋ ์ค์บ์ ์๋ตํฉ๋๋ค. |
| โprescan-ignore-fatal | boolean | ๋น๋ ์ ์ค์บ์ ์คํํ์ง๋ง ๋น๋๋ฅผ ๋ง์ง ์์ต๋๋ค (๋ณด๊ณ ์๋ง) |
| โprescan-skip | string | ํน์ prescan ์ฒดํฌ๋ฅผ id (๋ฐ๋ณต ๋๋ ์ผํ๋ก ๊ตฌ๋ถ)์ผ๋ก ๊ฑด๋๋ฐ์ญ์์ค. ๋ค๋ฅธ ์ฒดํฌ๋ ์ฌ์ ํ ์คํ๋ฉ๋๋ค. |
| โprescan-warn | string | ํน์ prescan ์ฒดํฌ๋ฅผ id (๋ฐ๋ณต ๋๋ ์ผํ๋ก ๊ตฌ๋ถ)์ผ๋ก ๊ฒฝ๊ณ ๋ก ๋ด๋ฆฌ์ญ์์ค. ์ฒดํฌ๋ ์ฌ์ ํ ์คํ๋ฉ๋๋ค. |
| โfail-on-warnings | boolean | prescan ๊ฒฝ๊ณ ๋ฅผ ์น๋ช ์ ์ธ ๊ฒ์ผ๋ก ์ฒ๋ฆฌํฉ๋๋ค. |
| โsend-logs-to-support | boolean | CI/CD ๋น๋ ์คํจ ์ ์๋์ผ๋ก ๋น๋ ๋ก๊ทธ๋ฅผ Capgo ์ง์ํ์ ์ ๋ก๋ํฉ๋๋ค (์ด๋ฉ์ผ ํ์ํ์ง ์์ต๋๋ค). Capgo ์ง์ํ์ ์ด๋ฉ์ผ๋ก ์ฐ๋ฝ์ ์ทจํ ๊ฒ์ ๋๋ค. โai-analytics์ ์ถ๊ฐ๋ฉ๋๋ค. |
| โsend-logs | boolean | โsend-logs-to-support์ deprecated alias์ ๋๋ค. |
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์ฌ์ฉ์ ํธ์คํ ์ ์ํ ์ปค์คํ Supabase anon ํค |
| โverbose | boolean | ์ธ๋ถ ๋ก๊น ๊ณผ ํจ๊ป ์์ธํ ์ถ๋ ฅ์ ํ์ฑํํฉ๋๋ค |
๋น๋ ์บ์: Capgo๋ ๊ธฐ๋ณธ์ ์ผ๋ก ์ฑ๋น ์ปดํ์ผ๋ ๋ค์ดํฐ๋ธ ์ํฐํฉํธ (CocoaPods, Gradle ๋ฐ ๊ด๋ จ ์ถ๋ ฅ)๋ฅผ ์ ์ฅํ๊ณ ๋ณต์ํฉ๋๋ค. Capgo๋ฅผ ์ฌ์ฉํ์ฌ RC ๋ฐ ํ๋ก๋์
์บ์๋ฅผ ๋ถ๋ฆฌํ๊ณ Capgo๋ฅผ ์ฌ์ฉํ์ฌ ํ ๋ฒ๋ง ๋น๋๋ฅผ ์ํํฉ๋๋ค. --cache-key or --no-cache CLI ๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํ์ฌ ํ ๋ฒ๋ง ์ํํ ์ ์๋ ๊นจ๋ํ ๋น๋๋ฅผ ์ํด. API ํตํฉ์ ํต๊ณผํ ์ ์์ต๋๋ค. cache_key or cache_enabled: false ๋น๋ ์์ฒญ ํ์ด๋ก๋์ ํฌํจ๋ฉ๋๋ค. ์์ธํ ๋ณด๊ธฐ ๋น๋ ์บ์ ๊ทธ๋ฆฌ๊ณ ์ค๋ฅ ํด๊ฒฐ: ์๋ชป๋ ์บ์ ๋ณต์.
๐น Sync-ios-version
Sync-ios-versionnpx @capgo/cli@latest build sync-ios-versioniOS Xcode MARKETING_VERSION์ package.json์์ ๋๊ธฐํํฉ๋๋ค.
์์:
npx @capgo/cli@latest build sync-ios-version --path .์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โ๊ฒฝ๋ก | string | ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ์ ๊ฒฝ๋ก (๊ธฐ๋ณธ๊ฐ: ํ์ฌ ๋๋ ํ ๋ฆฌ) |
| โ์ฒดํฌ | boolean | ์ฒดํฌ๋ง; MARKETING_VERSION์ด ๋๊ธฐํ๋์ง ์์ ๊ฒฝ์ฐ 0์ด ์๋ ๊ฐ์ ๋ฐํ |
๐น ํ๋ฆฌ ์ค์บ
ํฐ๋ฏธ๋ ์ฐฝnpx @capgo/cli@latest build prescanํ๋ก์ ํธ์ ์ ์ฅ๋ ์๊ฒฉ ์ฆ๋ช
์์ ํด๋ผ์ฐ๋ ๋น๋๊ฐ ์คํจํ๋ ๋ฌธ์ ๋ฅผ ์ค์บํ๊ณ ์
๋ก๋ํ๊ธฐ ์ ์ โ ์
๋ก๋ํ๊ธฐ ์ ์. build request์ด ๋ช
๋ น์ด๋ ๋
๋ฆฝ์ ์ผ๋ก ์คํ๋๋ฉฐ (์: CI์์). ์ด ๋ช
๋ น์ด๋ ์๋์ผ๋ก ๋ด๋ถ์์ ์คํ๋๋ฉฐ CI์์ standalone๋ก ์คํํ ์ ์์ต๋๋ค. See --skip / --warn Prescan checks
Options:
| Param | Options: | Param |
|---|---|---|
| Type | string | ์ค๋ช |
| โpath | string | ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ์ ๊ฒฝ๋ก (๊ธฐ๋ณธ๊ฐ: ํ์ฌ ๋๋ ํ ๋ฆฌ) |
| -a | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| --android-ํ๋ ์ด์ด | string | Android: ๋น๋ํ ์ ํ ํ๋๋ฒ |
| --ios-๋ฐฐํฌ | string | iOS: ๋ฐฐํฌ ๋ชจ๋๋ฅผ ๊ฒ์ฆํ ๊ฒ |
| --json | boolean | ๊ธฐ๊ณ๊ฐ ์ฝ์ ์ ์๋ JSON ๋ณด๊ณ ์๋ฅผ ์ถ๋ ฅ |
| --๊ฒฝ๊ณ -์๋ฌ | boolean | ๊ฒฝ๊ณ ๊ฐ ๋ฐ๊ฒฌ๋๋ฉด 0์ด ์๋ ๊ฐ์ ๋ฐํ (CI) |
| --fatal-๋ฌด์ | boolean | ์ง๋จ ๋ชจ๋: ๋ชจ๋ ๊ฒ์ ๋ณด๊ณ ํญ์ 0์ ๋ฐํํฉ๋๋ค. |
| โ์คํต | string | ํน์ ์ฒดํฌ๋ฅผ id๋ก ์คํตํฉ๋๋ค (๋ฐ๋ณต ๊ฐ๋ฅํ๊ฑฐ๋ ์ผํ๋ก ๊ตฌ๋ถ) |
| โ๊ฒฝ๊ณ | string | ํน์ ์ฒดํฌ๋ฅผ id๋ก ๊ฒฝ๊ณ ๋ก ๋ด๋ฆฌ๊ธฐ (๋ฐ๋ณต ๊ฐ๋ฅํ๊ฑฐ๋ ์ผํ๋ก ๊ตฌ๋ถ) |
| โverbose | boolean | ์์ธ ๋ก๊น ๊ณผ ํจ๊ป ์์ธํ ์ถ๋ ฅ์ ํ์ฑํํฉ๋๋ค. |
| โsupa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โsupa-anon | string | ์์ฒด ํธ์คํ ์์ํ ์ปค์คํ Supabase anon ํค |
๐น ์ต๊ทผ ์ถ๋ ฅ
๐น ๋ง์ง๋ง ์ถ๋ ฅnpx @capgo/cli@latest build last-output์ด์ ์ ๊ธฐ๋ก์ ์ํด ์์ฑ๋ ๋น๋ ์ถ๋ ฅ ๋ ์ฝ๋๋ฅผ ์ฝ์ต๋๋ค. build request --output-record.
Prints the full JSON by default, a single field with โfield, or the ASCII QR
code with โqr. Useful in CI to grab the download URL or QR for posting back
to a PR or issue.
Examples:
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-credentials/credentials.json ๋๋ ๋ก์ปฌ๋ก .capgo-credentials.json์ ์ ์ฅ๋ ์ธ์ฆ ์ ๋ณด
- ๋น๋ ์ Capgo๋ก ์ ์ก๋์ง๋ง ์๊ตฌ์ ์ผ๋ก ์ ์ฅ๋์ง ์์
- ๋น๋ ํ ์ฆ์ Capgo์์ ์ญ์
- ๋น๋ ์ถ๋ ฅ์ ์ต์ ์ผ๋ก ์๊ฐ ์ ํ๋ ๋ค์ด๋ก๋ ๋งํฌ๋ก ์ ๋ก๋ํ ์ ์์ต๋๋ค ๐ ๋ฌธ์: https://capgo.app/docs/cli/cloud-build/ios/ https://__CAPGO_KEEP_0__.app/docs/__CAPGO_KEEP_1__/cloud-build/ios/ https://capgo.app/docs/cli/cloud-build/android/
๐น __์ ํ ํค__
์ ํ ํคAlias: asc-key
npx @capgo/cli@latest build credentials apple-keyCreate 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
Example:
Example:Options:
| Param | ํ์ | ์ค๋ช |
|---|---|---|
| -a | string | API ํค๋ฅผ ์ฌ์ฉํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐ |
| โappId | string | ์ด ์ฑ iOS ๋น๋ ์ธ์ฆ์์ ์บก์ฒ ํค๋ฅผ ์ ์ฅ |
| โlocal | boolean | ํ๋ก์ ํธ๋ณ capgo-credentials.json ํ์ผ์ ์ ์ฅ |
| โjson | boolean | ์บก์ฒ ํค ID / ๋ฐ๊ธ์ ID / .p8 ๊ฒฝ๋ก๋ฅผ JSON ํ์์ผ๋ก ์ถ๋ ฅ |
๐น ์ ์ฅ
๐น ์ ์ฅ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): npn @capgo/cli build credentials save โplatform ios
โios-์ธ์ฆ์ ๋ฐ๊ธ ํ๋กํ์ผ ./App.mobileprovision
โios-์ธ์ฆ์ ๋ฐ๊ธ ํ๋กํ์ผ com.example.widget=./Widget.mobileprovision
npn @capgo/cli build credentials save --platform android
โkeystore ./release.keystore โkeystore-alias โmy-keyโ
โkeystore-key-password โkey-passโ
โplay-config ./service-account.json ๋ก์ปฌ ์คํ ๋ฆฌ์ง (ํ๋ก์ ํธ ๋น) : npm @capgo/cli build credentials save --local --platform ios โฆ
์์:
iOS Example:์ค์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โ์ ํ๋ฆฌ์ผ์ด์ ์์ด๋ | string | ์ ํ๋ฆฌ์ผ์ด์ ์์ด๋ (์: com.example.app) (ํ์) |
| โํ๋ซํผ | string | ํ๋ซํผ: ios ๋๋ android (ํ์) |
| โ์ธ์ฆ์ | string | iOS: ์ธ์ฆ์ ํ์ผ(.p12) ๊ฒฝ๋ก |
| โiOS ๋ฐฐํฌ ํ๋กํ์ผ | string | iOS: ๋ฐฐํฌ ํ๋กํ์ผ ๊ฒฝ๋ก ๋๋ bundleId=path (๋ฐ๋ณต ๊ฐ๋ฅ) |
| โ์ธ์ฆ์ ๋น๋ฐ๋ฒํธ | string | iOS: ์ธ์ฆ์ ๋น๋ฐ๋ฒํธ (์ธ์ฆ์์ ๋น๋ฐ๋ฒํธ๊ฐ ์์ผ๋ฉด ์ ํ ์ฌํญ) |
| โapple-key | string | iOS: App Store Connect API ํค ์์น |
| โapple-key-id | string | iOS: App Store Connect API ํค ID |
| โapple-issuer-id | string | iOS: App Store Connect ๋ฐ๊ธ์ ID |
| โapple-team-id | string | iOS: App Store Connect ํ ID |
| โios-distribution | string | iOS: ๋ฐฐํฌ ๋ชจ๋ |
| โapple-id | string | iOS: ์ ํ ID ์ด๋ฉ์ผ (์ฑ ์คํ ์ด ์ฐ๊ฒฐ API ํค ๋์ฒด) |
| โapple-app-specific-password | string | iOS: ์ ํ๋ฆฌ์ผ์ด์ ํน์ ๋น๋ฐ๋ฒํธ (xxxx-xxxx-xxxx-xxxx) ํ ์คํธ ํ๋ผ์ดํธ ์ ๋ก๋ |
| โapple-app-id | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ์ฑ ID (์ ํ ID์ ์ ํ๋ฆฌ์ผ์ด์ ํน์ ๋น๋ฐ๋ฒํธ์ ํจ๊ป ํ์) |
| โkeystore | string | Android: Keystore ํ์ผ ๊ฒฝ๋ก (.keystore ๋๋ .jks) |
| โkeystore-alias | string | Android: Keystore ํค ๋ณ์นญ |
| โkeystore-key-password | string | Android: Keystore ํค ๋น๋ฐ๋ฒํธ |
| โkeystore-store-password | string | Android: Keystore ์ ์ฅ์ ๋น๋ฐ๋ฒํธ |
| โplay-config | string | ์๋๋ก์ด๋: Play ์คํ ์ด ์๋น์ค ๊ณ์ JSON ๊ฒฝ๋ก |
| โandroid-flavor | string | ์๋๋ก์ด๋: ์ ํ ํ๋๋ฒ๋ฅผ ๋น๋ (์: ํ๋ก๋์ ). ํ๋ก์ ํธ๊ฐ ์ฌ๋ฌ ํ๋๋ฒ๋ฅผ ๊ฐ์ง ๊ฒฝ์ฐ ํ์. |
| โin-app-update-priority | string | ์๋๋ก์ด๋: Google Play ๋ด ์ฑ ์ ๋ฐ์ดํธ ์ฐ์ ์์ (์ ์ 0โ5; ๋ ๋์์๋ก ๋ ๊ธ๋ฐ). ์๋ตํ๋ฉด Play์ ๊ธฐ์กด ๊ฐ์ด ์ ์ง๋ฉ๋๋ค. |
| โlocal | boolean | ํ๋ก์ ํธ ๋ฃจํธ์ .capgo-credentials.json์ผ๋ก ์ ์ฅํ๊ธฐ ๋์ ๊ธ๋ก๋ฒ ~/.capgo-credentials/์ ์ ์ฅ |
| โoutput-upload | boolean | Capgo ์ ์ฅ์์ ๋น๋ ์ถ๋ ฅ๋ฌผ (IPA/APK/AAB)์ ์ ๋ก๋ํ๊ณ ๋ค์ด๋ก๋ ๋งํฌ๋ฅผ ์ถ๋ ฅ |
| โno-output-upload | boolean | ๋น๋ ์ถ๋ ฅ๋ฌผ (IPA/APK/AAB)์ Capgo ์ ์ฅ์์ ์ ๋ก๋ํ์ง ์์ |
| โ์ถ๋ ฅ ๋ณด์กด | string | ์ถ๋ ฅ ๋งํฌ TTL: 1์๊ฐ์์ 7์ผ (๊ธฐ๋ณธ๊ฐ: 1์๊ฐ). ์์: 1์๊ฐ, 6์๊ฐ, 2์ผ |
| โ๋น๋ ๋ฒํธ ์ฆ๊ฐ ์๋ต | boolean | ๋ฏธ๋ ๋น๋์์ ์๋ ๋น๋ ๋ฒํธ/๋ฒ์ code ์ฆ๊ฐ๋ฅผ ์๋ตํฉ๋๋ค. |
| โno-skip-build-number-bump | 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 # ํน์ ์ฑ ๋ชฉ๋ก
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โappId | string | ๋ฆฌ์คํธํ ์ฑ ID (์ ํ ์ฌํญ, ์๋ต ์ ๋ชจ๋ ์ฑ์ ๋ชฉ๋กํ) |
| โlocal | boolean | ์ง์ญ capgo-credentials.json ํ์ผ์์๋ง ์๊ฒฉ ์ฆ๋ช ์ ๋ชฉ๋กํ |
๐น ์ง์ฐ๊ธฐ
๐น 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
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| โappId | string | ์ญ์ ํ ์ฑ ID (์ ํ ์ฌํญ, ์๋ต ์ ๋ชจ๋ ์ฑ ์ญ์ ) |
| โplatform | string | ์ญ์ ํ ํ๋ซํผ: ios ๋๋ android (์ ํ ์ฌํญ, ์๋ต ์ ๋ชจ๋ ํ๋ซํผ ์ญ์ ) |
| โlocal | 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
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| ์ฑ ID | string | ์ ํ๋ฆฌ์ผ์ด์ ID (์๋์ผ๋ก capacitor.config์์ ์ถ์ถ๋๋ฉฐ ์๋ต ์ ์๋์ผ๋ก ์ถ์ถ๋จ) |
| โํ๋ซํผ | string | ํ๋ซํผ: ios ๋๋ android (์ต์ ์์ ์๋์ผ๋ก ์ถ์ถ๋จ) |
| โ๋ก์ปฌ | boolean | ์ ์ญ ๋์ ๋ก์ปฌ .capgo-credentials.json์ ์ ๋ฐ์ดํธํฉ๋๋ค. |
| โ์ธ์ฆ์ | string | P12 ์ธ์ฆ์ ํ์ผ ๊ฒฝ๋ก |
| โios-๋ฐฐํฌ ํ๋กํ์ผ | string | ๋ฐฐํฌ ํ๋กํ์ผ ๊ฒฝ๋ก ๋๋ bundleId=path (๋ฐ๋ณต ๊ฐ๋ฅ, ๊ธฐ๋ณธ์ ์ผ๋ก ์ถ๊ฐ๋จ) |
| โoverwrite-ios-๋ฐฐํฌ ํ๋กํ์ผ ๋งต | boolean | ์ ์ฒด ๋ฐฐํฌ ํ๋กํ์ผ ๋งต์ ๋์ฒดํ๋ ๋์ ๋ณํฉํฉ๋๋ค (๊ธฐ๋ณธ: ๋ณํฉ) |
| โp12-์ธ์ฆ์ ๋น๋ฐ๋ฒํธ | string | P12 ์ธ์ฆ์ ๋น๋ฐ๋ฒํธ |
| โapple-key | string | API ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ๊ฒฝ๋ก (.p8 ํ์ผ) |
| โapple-key-id | string | API ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ํค ID |
| โapple-issuer-id | string | ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ๋ฐ๊ธ์ ID |
| โapple-team-id | string | ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ํ ID |
| โapple-id | string | iOS: ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ํค ๋์ ์ฑ ์คํ ์ด ์ฐ๊ฒฐ API ํค๋ฅผ ์ฌ์ฉํ ๋ ์ฑ ์คํ ์ด ์ฐ๊ฒฐ ID ์ด๋ฉ์ผ |
| โapple-app-specific-password | string | iOS: ํ ์คํธ ํ๋ผ์ดํธ ์ ๋ก๋๋ฅผ ์ํ ์ฑ ํน์ ๋น๋ฐ๋ฒํธ (xxxx-xxxx-xxxx-xxxx) |
| โapple-app-id | string | iOS: __CAPGO_KEEP_0__ App Store Connect __CAPGO_KEEP_1__ (iOS: __CAPGO_KEEP_2__ ํ์ํ๋ฉฐ โapple-id ๋ฐ โapple-app-specific-password์ ํจ๊ป) |
| โios-distribution | string | iOS: ๋ฐฐํฌ ๋ชจ๋ |
| โkeystore | string | Keystore file path (.keystore or .jks) |
| โkeystore-alias | string | Keystore key alias |
| โkeystore-key-password | string | Keystore key password |
| โkeystore-store-password | string | Keystore ์ ์ฅ์ ์ํธ |
| โplay-config | string | Google Play ์๋น์ค ๊ณ์ JSON ํ์ผ ๊ฒฝ๋ก |
| โandroid-flavor | string | Android: ์ ํ ํ๋๋ฒ๋ฅผ ๋น๋ (์: ํ๋ก๋์ ). ํ๋ก์ ํธ์ ์ฌ๋ฌ ํ๋๋ฒ๊ฐ ์๋ ๊ฒฝ์ฐ ํ์. |
| โin-app-update-priority | string | Android: Google Play ๋ด ์ฑ ์ ๋ฐ์ดํธ ์ฐ์ ์์ (0โ5; ๋ ๋์ ์ฐ์ ์์ = ๋ ๊ธ๋ฐ). |
| โoutput-upload | 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 ๋น๋ ์ธ์ฆ์ ๊ด๋ฆฌ
npx @capgo/cli ๋น๋ ์ธ์ฆ์ ๊ด๋ฆฌ โappId com.example.app
npx @capgo/cli ๋น๋ ์ธ์ฆ์ ๊ด๋ฆฌ โappId com.example.app โplatform ios
npx @capgo/cli ๋น๋ ์ธ์ฆ์ ๊ด๋ฆฌ โlocal
์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| โappId | string | ๊ด๋ฆฌํ ์ฑ ID (์ ํ ์ฌํญ, ์๋ต ์ ์ ํํ๋๋ก ์ ๋) |
| โplatform | string | ๊ด๋ฆฌํ ํ๋ซํผ: ios ๋๋ android (์ ํ ์ฌํญ, ์๋ต ์ ์ ํํ๋๋ก ์ ๋) |
| โlocal | boolean | Only browse local .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 ๋์ ์ ํ |