- deploy.sh auto-sources apps/rebreak-native/.env.deploy.local (gitignored) and ~/.config/rebreak/deploy.env as fallback - new helper xcodebuild_auth_args() injects -allowProvisioningUpdates + -authenticationKeyPath/ID/IssuerID into archive + both exportArchive calls - ASC API-Key (free, .p8 from appstoreconnect.apple.com) is now the required path for exportArchive — app-specific-password no longer works for export since Xcode 14 (still used as altool-upload fallback) - .env.deploy.local.example template added with one-time setup steps - .gitignore: add *.p8 (.env*.local already covered)
36 lines
2.8 KiB
Plaintext
36 lines
2.8 KiB
Plaintext
# Rebreak Deploy Secrets — Copy to .env.deploy.local (gitignored!)
|
|
#
|
|
# Source-Reihenfolge (deploy.sh lädt erstes vorhandenes File):
|
|
# 1. apps/rebreak-native/.env.deploy.local
|
|
# 2. ~/.config/rebreak/deploy.env
|
|
#
|
|
# ──────────────────────────────────────────────────────────────────────────
|
|
# iOS — App Store Connect API Key (GRATIS, einmal generieren)
|
|
# ──────────────────────────────────────────────────────────────────────────
|
|
# 1) Gehe zu https://appstoreconnect.apple.com/access/integrations/api
|
|
# 2) "Generate API Key" (Role: Admin oder App Manager)
|
|
# 3) Download AuthKey_XXXXXXXXXX.p8 — kann nur EINMAL heruntergeladen werden!
|
|
# 4) Speichere unter ~/.appstoreconnect/private_keys/AuthKey_<KEY_ID>.p8
|
|
# (altool sucht dort automatisch — Standort ist Pflicht)
|
|
# mkdir -p ~/.appstoreconnect/private_keys
|
|
# mv ~/Downloads/AuthKey_*.p8 ~/.appstoreconnect/private_keys/
|
|
# chmod 600 ~/.appstoreconnect/private_keys/AuthKey_*.p8
|
|
#
|
|
# Issuer-ID findest du auf derselben Seite ganz oben.
|
|
|
|
export ASC_API_KEY_ID="ABCDE12345"
|
|
export ASC_API_KEY_ISSUER="69a6de70-XXXX-XXXX-XXXX-5bc36a4XXXXX"
|
|
export ASC_API_KEY_PATH="$HOME/.appstoreconnect/private_keys/AuthKey_${ASC_API_KEY_ID}.p8"
|
|
|
|
# ──────────────────────────────────────────────────────────────────────────
|
|
# iOS — Fallback: App-Specific-Password (NUR für altool-Upload, NICHT für exportArchive)
|
|
# ──────────────────────────────────────────────────────────────────────────
|
|
# Generieren: https://appleid.apple.com → Sign-In and Security → App-Specific Passwords
|
|
# export APPLE_ID_EMAIL="chahinebrini@gmail.com"
|
|
# export APPLE_APP_SPECIFIC_PASSWORD="xxxx-xxxx-xxxx-xxxx"
|
|
|
|
# ──────────────────────────────────────────────────────────────────────────
|
|
# Android — Play Console Service Account
|
|
# ──────────────────────────────────────────────────────────────────────────
|
|
# export PLAY_SERVICE_ACCOUNT_JSON="$HOME/.config/rebreak/play-service-account.json"
|