iOS build
Doel
IPA/TestFlight-build die routineassist.com als server gebruikt.
Voor wie
Developers en CI (GitHub macOS runner).
Waar in de app
Workflow .github/workflows/ios.yml; scripts npm run ios:prod, npm run ios:beta.
Voorwaarden
Apple Developer-account; GitHub secrets voor TestFlight (zie deploy/README).
Stap-voor-stap
- Bij push/PR: GitHub Actions iOS build op
macos-latest(sync + verify + simulator-build). - Lokaal of in CI:
npm run ios:prod(APIhttps://routineassist.com, sync versies + Firebase plist). - Versies:
android/app/build.gradleis leidend —npm run ios:prodroeptsync-native-versions.mjsaan. - TestFlight: zet secrets in GitHub (App Store Connect API + signing) — zie
deploy/README.md. - App ID: minimaal Push Notifications op het App Store-profiel (Time Sensitive optioneel voor Focus-doorbraak).
- Actions → iOS build → Run workflow → Upload naar TestFlight aan (niet tegelijk met pushen).
- Optioneel lokaal op Mac:
npm run ios:open→ signing in Xcode. - Push:
npm run ios:prodgenereertGoogleService-Info.plist(secretIOS_GOOGLE_SERVICES_PLIST_BASE64ofios/GoogleService-Info.plist.base64.txt). - Registreer minimumversie in /admin/app-updates (tab iOS).
Opties & instellingen
Wijzig nooit alleen ios/ voor UI — altijd src/ + cap sync.
Tips & veelvoorkomende problemen
Native wijzigingen: Info.plist, App.entitlements, Swift plugins + opnieuw sync.