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
- Sur push/PR : GitHub Actions iOS build sur
macos-latest(sync + verify + build simulateur). - En local ou CI :
npm run ios:prod(APIhttps://routineassist.com, sync versions + plist Firebase). - Versions :
android/app/build.gradlefait référence —npm run ios:prodexécutesync-native-versions.mjs. - TestFlight : secrets GitHub (API App Store Connect + signature) — voir
deploy/README.md. - App ID : Push Notifications sur le profil App Store (Time Sensitive optionnel pour Focus).
- Actions → iOS build → Run workflow → cocher Upload to TestFlight (pas en parallèle d'un push).
- Option Mac local :
npm run ios:open→ signature dans Xcode. - Push :
npm run ios:prodgénèreGoogleService-Info.plist(secretIOS_GOOGLE_SERVICES_PLIST_BASE64ouios/GoogleService-Info.plist.base64.txt). - 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.