Zum Hauptinhalt springen

iOS-Build

Ziel

IPA/TestFlight-Build mit routineassist.com als Server.

Für wen

Entwickler und CI (GitHub macOS-Runner).

Wo in der App

Workflow .github/workflows/ios.yml; Skripte npm run ios:prod, npm run ios:beta.

Voraussetzungen

Apple-Developer-Konto; GitHub-Secrets für TestFlight (siehe deploy/README).

Schritt für Schritt

  1. Bei Push/PR: GitHub Actions iOS build auf macos-latest (Sync + Verify + Simulator-Build).
  2. Lokal oder in CI: npm run ios:prod (API https://routineassist.com, Sync Versionen + Firebase plist).
  3. Versionen: android/app/build.gradle ist führend — npm run ios:prod ruft sync-native-versions.mjs auf.
  4. TestFlight: GitHub-Secrets setzen (App Store Connect API + Signing) — siehe deploy/README.md.
  5. App-ID: Push Notifications im App-Store-Profil (Time Sensitive optional für Focus).
  6. Actions → iOS build → Run workflow → Upload to TestFlight aktivieren (nicht parallel zum Push).
  7. Optional lokal auf Mac: npm run ios:open → Signing in Xcode.
  8. Push: npm run ios:prod erzeugt GoogleService-Info.plist (Secret IOS_GOOGLE_SERVICES_PLIST_BASE64 oder ios/GoogleService-Info.plist.base64.txt).
  9. Minimumversion in /admin/app-updates (Tab iOS) registrieren.

Optionen & Einstellungen

Niemals nur ios/ für UI ändern — immer src/ + cap sync.

Tipps & häufige Probleme

Native Änderungen: Info.plist, App.entitlements, Swift-Plugins + erneut sync.

Siehe auch