🍎 iOS Deployment Setup - Schritt-für-Schritt¶
✅ Status: Apple Distribution Zertifikat bereits vorhanden!¶
- Zertifikat: Apple Distribution: Tech Schuppen GmbH (KW66H394ZW)
📝 Durchzuführende Schritte¶
Schritt 1: Distribution Certificate exportieren (5 Min)¶
- Keychain Access öffnen
-
Spotlight (⌘ + Leertaste) → "Keychain Access" eingeben
-
Zertifikat finden
- Links: "login" Keychain auswählen
- Kategorie: "Meine Zertifikate"
-
Suche nach: "Apple Distribution: Tech Schuppen"
-
Exportieren
- Rechtsklick auf das Zertifikat
- "Apple Distribution: Tech Schuppen GmbH" exportieren...
- Speicherort: Desktop
- Dateiname:
distribution.p12 - Format: Personal Information Exchange (.p12)
-
Speichern klicken
-
Passwort festlegen
- Starkes Passwort eingeben (min. 6 Zeichen)
- WICHTIG: Passwort notieren!
-
Beispiel:
TechSchuppen2026! -
Berechtigungen bestätigen
- Dein macOS-Passwort eingeben, wenn gefragt
Schritt 2a: Provisioning Profile für ERP erstellen (3 Min)¶
-
Browser öffnen: https://developer.apple.com/account/resources/profiles/
-
Neues Profile erstellen
- "+" klicken (oben links)
- Distribution → "App Store" auswählen
-
Continue klicken
-
App ID auswählen
- Bundle ID:
de.easysale.erpsuchen und auswählen - Falls nicht vorhanden: Zuerst unter "Identifiers" erstellen
-
Continue klicken
-
Zertifikat auswählen
- "Apple Distribution: Tech Schuppen GmbH" auswählen
-
Continue klicken
-
Name vergeben
- Profile Name:
ERP Distribution Profile -
Generate klicken
-
Herunterladen
- Download klicken
- Speichern auf: Desktop als
ERP_Distribution.mobileprovision
Schritt 2b: Provisioning Profile für Shop erstellen (3 Min)¶
Wiederhole Schritt 2a mit:
- Bundle ID: de.easysale.app.demo
- Profile Name: Shop Distribution Profile
- Speichern als: Shop_Distribution.mobileprovision
Schritt 3: App Store Connect API Key erstellen (5 Min)¶
-
Browser öffnen: https://appstoreconnect.apple.com/access/integrations/api
-
Neuen Key erstellen
-
"+" klicken (neben "Active" Tab)
-
Key konfigurieren
- Name:
GitHub Actions Deployment - Access: App Manager auswählen
-
Generate klicken
-
Key-Informationen notieren
- Key ID: Wird angezeigt (z.B.
ABC123XYZ) → NOTIEREN! - Issuer ID: Steht oben auf der Seite → NOTIEREN!
- Download: .p8-Datei herunterladen
- Speichern auf: Desktop als
AuthKey_[ID].p8
⚠️ WICHTIG: Die .p8-Datei kann nur EINMAL heruntergeladen werden!
Schritt 4: iOS Secrets generieren (2 Min)¶
Nachdem du alle Dateien hast, führe aus:
Eingaben:
1. Pfad zur .p12-Datei: ~/Desktop/distribution.p12
2. Passwort: [Das Passwort von Schritt 1]
3. Pfad zu ERP .mobileprovision: ~/Desktop/ERP_Distribution.mobileprovision
4. Pfad zu Shop .mobileprovision: ~/Desktop/Shop_Distribution.mobileprovision
5. Pfad zur .p8-Datei: ~/Desktop/AuthKey_*.p8
6. Key ID: [Aus Schritt 3]
7. Issuer ID: [Aus Schritt 3]
Das Skript erstellt: ~/.easysale/ios-secrets/github-secrets.txt
Schritt 5: GitHub Secrets eintragen (10 Min)¶
URL: https://github.com/[dein-username]/easySale/settings/secrets/actions
Android Secrets eintragen (8 Secrets):
Für jeden Secret: 1. "New repository secret" klicken 2. Name eingeben (exakt aus Datei) 3. Value einfügen 4. "Add secret"
iOS Secrets eintragen (7 Secrets):
Insgesamt: 15 Secrets
Schritt 6: Google Play Service Account (10 Min)¶
Siehe DEPLOYMENT_SETUP.md Schritt 3
Checkliste:¶
- [ ] Distribution Certificate exportiert (.p12)
- [ ] ERP Provisioning Profile erstellt (.mobileprovision)
- [ ] Shop Provisioning Profile erstellt (.mobileprovision)
- [ ] App Store Connect API Key erstellt (.p8)
- [ ] iOS Secrets generiert (Skript ausgeführt)
- [ ] Alle 8 Android Secrets in GitHub eingetragen
- [ ] Alle 7 iOS Secrets in GitHub eingetragen
- [ ] Google Play Service Account erstellt
- [ ] Apps in App Store Connect angelegt
- [ ] Apps in Google Play Console angelegt
🚀 Starten¶
Nach Abschluss aller Schritte:
cd ~/Development/easySale
echo "# Deployment Test" >> core/README.md
git add core/README.md
git commit -m "test: iOS & Android Deployment Setup"
git push origin main
→ Workflows starten automatisch unter: GitHub → Actions
📞 Support¶
Bei Problemen siehe DEPLOYMENT_SETUP.md → Troubleshooting