Aller au contenu principal

Build iOS

Objectif

Build IPA/TestFlight utilisant routineassist.com comme serveur.

Pour qui

Développeurs et CI (runner macOS GitHub).

Où dans l'app

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

Conditions

Compte Apple Developer ; secrets GitHub pour TestFlight (voir deploy/README).

Étape par étape

  1. Sur push/PR : GitHub Actions iOS build sur macos-latest (sync + verify + build simulateur).
  2. En local ou CI : npm run ios:prod (API https://routineassist.com, sync versions + plist Firebase).
  3. Versions : android/app/build.gradle fait référence — npm run ios:prod exécute sync-native-versions.mjs.
  4. TestFlight : secrets GitHub (API App Store Connect + signature) — voir deploy/README.md.
  5. App ID : Push Notifications sur le profil App Store (Time Sensitive optionnel pour Focus).
  6. Actions → iOS build → Run workflow → cocher Upload to TestFlight (pas en parallèle d'un push).
  7. Option Mac local : npm run ios:open → signature dans Xcode.
  8. Push : npm run ios:prod génère GoogleService-Info.plist (secret IOS_GOOGLE_SERVICES_PLIST_BASE64 ou ios/GoogleService-Info.plist.base64.txt).
  9. Enregistrez version minimale dans /admin/app-updates (onglet iOS).

Options & paramètres

Ne modifiez pas seulement ios/ pour l'UI — toujours src/ + cap sync.

Conseils & dépannage

Changements natifs : Info.plist, App.entitlements, plugins Swift + re-sync.

Voir aussi