๐น ๋น๋
์ค์น ๋จ๊ณ์ ์ด ํ๋ฌ๊ทธ์ธ์ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๋ฅผ ํฌํจํ ์ค์ ๋ช ๋ น์ด๋ฅผ ๋ณต์ฌํ์ธ์.
๐๏ธ Capgo Cloud๋ฅผ ํตํด ๋ค์ดํฐ๋ธ iOS/Android ๋น๋๋ฅผ ๊ด๋ฆฌํ์ธ์.
๐ ์ด๊ธฐํ
์ ๋ชฉ์ด โ ๐ ์ด๊ธฐํโ์ธ ์น์ Alias: onboarding
npx @capgo/cli@latest build initiOS ๋น๋ ์ธ์ฆ์ ๋ฐ ํ๋กํ์ผ์ ์๋์ผ๋ก ์์ฑํ์ฌ interactively ์ค์
๐น ์์ฒญ
๐น ์์ฒญ ์ ๋ชฉnpx @capgo/cli@latest build requestCapgo Cloud์์ Capgo๋ก ํ๋ก์ ํธ ๋๋ ํ ๋ฆฌ๋ฅผ ์์ถํ์ฌ ์
๋ก๋ํ๊ณ , Capgo ์๋ฒ์ ์ ์ฅํ์ง ์์ต๋๋ค. ์ธ์ฆ ์ ๋ณด๋ ๋น๋ ์๋ฃ ํ ์๋์ผ๋ก ์ญ์ ๋ฉ๋๋ค. ๋น๋ ์ถ๋ ฅ์ ์ต์
์ผ๋ก ์๊ฐ ์ ํ๋ ๋ค์ด๋ก๋ ๋งํฌ๋ก ์
๋ก๋ํ ์ ์์ต๋๋ค.
๐ ํ์ ์กฐ๊ฑด: ์ธ์ฆ ์ ๋ณด๋ฅผ ๋จผ์ ์ ์ฅํ์ธ์:
npx @capgo/cli build credentials save --appId <app-id> --platform <ios|android>
์์:
npx @capgo/cli@latest build request com.example.app --platform ios --path .์ต์ :
| __CAPGO_KEEP_0__ | __CAPGO_KEEP_1__ | __CAPGO_KEEP_2__ |
|---|---|---|
| โpath | string | ํ๋ก์ ํธ ๋น๋ ๋๋ ํ ๋ฆฌ์ ๊ฒฝ๋ก (๊ธฐ๋ณธ๊ฐ: ํ์ฌ ๋๋ ํ ๋ฆฌ) |
| โ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: Apple ID ์ด๋ฉ์ผ |
| โapple-app-specific-password | string | iOS: ์ฑ ํน์ ๋น๋ฐ๋ฒํธ |
| โapple-key-id | string | iOS: App Store Connect API ํค ID |
| โapple-issuer-id | string | iOS: App Store Connect ๋ฐ๊ธ์ ID |
| โapple-key-content | string | iOS: App Store Connect API ํค (.p8) Base64 ์ธ์ฝ๋ฉ |
| __CAPGO_KEEP_0__ | string | iOS: ์ ํ ์คํ ์ด ์ฐ๊ฒฐ ํ ID |
| __CAPGO_KEEP_0__ | string | iOS: Xcode๋ฅผ ์ํ ๋น๋ ์คํค๋ง (๊ธฐ๋ณธ๊ฐ: ์ฑ) |
| __CAPGO_KEEP_0__ | string | iOS: Xcode ๋น๋ ์ค์ ์ ์ฝ๊ธฐ ์ํ ํ๊ฒ (๊ธฐ๋ณธ๊ฐ: ์คํค๋ง์ ๋์ผ) |
| __CAPGO_KEEP_0__ | string | iOS: ๋ฐฐํฌ ๋ชจ๋ |
| __CAPGO_KEEP_0__ | string | iOS: ๋ฐฐํฌ ํ๋กํ์ผ ๊ฒฝ๋ก ๋๋ bundleId=path ๋งคํ (๋ฐ๋ณต ๊ฐ๋ฅ) |
| __CAPGO_KEEP_0__ | string | Android: Base64๋ก ์ธ์ฝ๋ฉ๋ ํค์คํ ์ด ํ์ผ |
| โ__CAPGO_KEEP_0__-key-alias | string | ์๋๋ก์ด๋: Keystore ํค ๋ณ์นญ |
| โ__CAPGO_KEEP_0__-key-password | string | ์๋๋ก์ด๋: Keystore ํค ๋น๋ฐ๋ฒํธ |
| โ__CAPGO_KEEP_0__-store-password | string | ์๋๋ก์ด๋: Keystore ์ ์ฅ์ ๋น๋ฐ๋ฒํธ |
| โ__CAPGO_KEEP_0__-config-json | string | ์๋๋ก์ด๋: Google Play ์๋น์ค ๊ณ์ JSON (Base64 ์ธ์ฝ๋ฉ) |
| โ__CAPGO_KEEP_1__ | string | ์๋๋ก์ด๋: ๋น๋ํ ์ ํ ๋ง์ง (์: ํ๋ก๋์ ). ํ๋ก์ ํธ๊ฐ ์ฌ๋ฌ ๋ง์ง์ ๊ฐ์ง๊ณ ์๋ค๋ฉด ํ์. |
| โ__CAPGO_KEEP_2__ | boolean | ์ด ๋น๋์ Play Store ์ ๋ก๋๋ฅผ ์๋ตํฉ๋๋ค (์ ์ฅ๋ Play Config๋ฅผ null๋ก ๋ง๋ญ๋๋ค). โoutput-upload๊ฐ ํ์ํฉ๋๋ค. |
| โ์ถ๋ ฅ ์ ๋ก๋ | boolean | ์ด ๋น๋๋ง์ ์ํ ์ถ๋ ฅ ์ ๋ก๋ ๋์์ ์ค๋ฒ๋ผ์ด๋ํฉ๋๋ค. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ์ถ๋ ฅ ์ ๋ก๋ ๋นํ์ฑํ | boolean | ์ด ๋น๋๋ง์ ์ํ ์ถ๋ ฅ ์ ๋ก๋ ๋์์ ์ค๋ฒ๋ผ์ด๋ํฉ๋๋ค. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ์ถ๋ ฅ ๋ณด์กด | string | ์ด ๋น๋๋ง์ ์ํ ์ถ๋ ฅ ๋งํฌ TTL์ ์ค๋ฒ๋ผ์ด๋ํฉ๋๋ค. ์์: 1์๊ฐ, 6์๊ฐ, 2์ผ. ์ฐ์ ์์: CLI > ํ๊ฒฝ๋ณ์ > ์ ์ฅ๋ ์ธ์ฆ์ |
| โ๋น๋ ๋ฒํธ ์ฆ๊ฐ ์๋ต | boolean | ์๋ ๋น๋ ๋ฒํธ/๋ฒ์ code ์ฆ๊ฐ๋ฅผ ์๋ตํฉ๋๋ค. ํ๋ก์ ํธ ํ์ผ์ ์ด๋ฏธ ์๋ ๋ฒ์ ์ ์ฌ์ฉํฉ๋๋ค. |
| โ๋น๋ ๋ฒํธ ์ฆ๊ฐ ๋นํ์ฑํ | boolean | ์ด ๋น๋๋ง์ ์ํ ์ ์ฅ๋ ์ธ์ฆ์๋ฅผ ์ค๋ฒ๋ผ์ด๋ํ์ฌ ์๋ ๋น๋ ๋ฒํธ ์ฆ๊ฐ๋ฅผ ์ฌ ํ์ฑํํฉ๋๋ค. |
| -a, | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๋ ํค |
| โ__CAPGO_KEEP_0__-ํธ์คํธ | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| โ__CAPGO_KEEP_0__-์ต๋ช | string | ์์ฒด ํธ์คํ ์ ์ํด ์ฌ์ฉํ๋ ์ปค์คํ Supabase ์ต๋ช ํค |
| โverbose | boolean | ์์ธ ๋ก๊น ๊ณผ ํจ๊ป ์์ธํ ์ถ๋ ฅ์ ํ์ฑํํฉ๋๋ค. |
๐น ์ธ์ฆ ์ ๋ณด
์ธ์ฆ ์ ๋ณดnpx @capgo/cli@latest build credentials๋ก์ปฌ ๋จธ์ ์ ์ ์ฅ๋ ๋น๋ ์ธ์ฆ ์ ๋ณด๋ฅผ ๊ด๋ฆฌํฉ๋๋ค. ๐ ๋ณด์:
- ์ธ์ฆ ์ ๋ณด๊ฐ ~/.capgo-credentials/credentials.json (์ ์ญ) ๋๋ .capgo-credentials.json (๋ก์ปฌ) ์ ์ ์ฅ๋ฉ๋๋ค.
- When building, sent to Capgo but NEVER stored permanently
- Capgo์์ ์ ์ก๋๋ฉฐ, ๋น๋ ์ ์๊ตฌ์ ์ผ๋ก ์ ์ฅ๋์ง ์์ต๋๋ค.
- Deleted from __CAPGO_KEEP_0__ immediately after build https://capgo.app/docs/cli/cloud-build/ios/ Build outputs may optionally be uploaded for time-limited download links ๐ DOCUMENTATION: iOS setup: https://capgo.app/docs/cli/cloud-build/android/
https://__CAPGO_KEEP_0__.app/docs/__CAPGO_KEEP_1__/cloud-build/ios/
https://__CAPGO_KEEP_0__.app/docs/__CAPGO_KEEP_1__/cloud-build/ios/Android setup: https://__CAPGO_KEEP_0__.app/docs/__CAPGO_KEEP_1__/cloud-build/android/ Keep going from build Capgo CI/CD ์ ํ ์ํฌํ๋ก์ฐ์ ๋ํ Capgo CI/CD์ ๋ํ Capgo ๋ค์ดํฐ๋ธ ๋น๋ ์ ํ ์ํฌํ๋ก์ฐ์ ๋ํ Capgo ๋ค์ดํฐ๋ธ ๋น๋์ ๋ํ Capgo ํตํฉ ์ ํ ์ํฌํ๋ก์ฐ์ ๋ํ Capgo ํตํฉ์ ๋ํ CI/CD ํตํฉ CI/CD ํตํฉ์ ๋ํ ๊ตฌํ ์ธ๋ถ ์ฌํญ, ๋ฐ GitHub ์ก์ ํตํฉ์ ๋ํ ๊ตฌํ ์ธ๋ถ ์ฌํญ for the implementation detail in GitHub Actions Integration.