diff --git a/codemagic.yaml b/codemagic.yaml index 6a4e711..30ab398 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -2,7 +2,7 @@ # # Needed in Codemagic (Team settings / app settings): # - Environment variable group "nk_app": SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY, MEDIA_BASE_URL -# - App Store Connect API key integration named "NK App Store Connect" (iOS) +# - App Store Connect API key integration "clickstocart-app" (Developer Portal) (iOS) # - Variable CERTIFICATE_PRIVATE_KEY (secure) in group "nk_ios_signing" (iOS signing) # - Android keystore uploaded with reference name "nk_upload_keystore" (Android) # - Variable GCLOUD_SERVICE_ACCOUNT_CREDENTIALS in group "nk_google_play" (Android publishing) @@ -38,7 +38,7 @@ workflows: instance_type: mac_mini_m2 max_build_duration: 60 integrations: - app_store_connect: NK App Store Connect + app_store_connect: clickstocart-app # the team API key in Codemagic (covers all our Apple apps) environment: groups: - nk_app diff --git a/docs/app-store-release.md b/docs/app-store-release.md index 17bd9b6..3079ca2 100644 --- a/docs/app-store-release.md +++ b/docs/app-store-release.md @@ -25,7 +25,7 @@ each store release. Build numbers are set automatically by Codemagic. - `MEDIA_BASE_URL` = `https://app.nkbmusic.com/storage/v1/object/public/audio` 2. **App Store Connect API key.** - In App Store Connect, open Users and Access > Integrations > App Store Connect API and generate a key with the **App Manager** role. - - In Codemagic, open Team settings > Team integrations > Developer Portal and add the key with the name **`NK App Store Connect`**. + - In Codemagic, open Team settings > Team integrations > Developer Portal and add the key with the name **`clickstocart-app`** (already added; it works for every app in the Apple team). 3. **iOS signing (automatic).** The build creates the Apple Distribution certificate and the App Store profile itself through the API key, so no profiles are made by hand. - Create a variable group **`nk_ios_signing`** with `CERTIFICATE_PRIVATE_KEY` (secure).