WIP setup notes for local development.
This repo uses XcodeGen. The source of truth for the Xcode project is project.yml.
Use the generated Xcode project for all app deployment and device testing.
Do not open apps/ios/Package.swift in Xcode for app runs; Xcode 26 may treat it as a Swift Playground-style project, which limits capabilities like HealthKit.
Generated files are intentionally ignored and should not be committed:
FridgeLuck.xcodeproj/Xcode/FridgeLuck-Info.plistXcode/FridgeLuck.entitlements
Regenerate the project locally with:
xcodegen generateThat will recreate the Xcode project from project.yml for local use.
Or use the helper script:
./scripts/open_ios_project.shapps/ios/: canonical iOS source tree (App,Feature,Platform,Domain,DesignSystem,Resources,Tests)backend/: TypeScript / backend servicesscripts/: cross-repo automation and data pipelinesFridgeLuck.xcodeproj/: generated local artifact, not a source-of-truth folder
- Generate and open
FridgeLuck.xcodeproj. - Select the
FridgeLuckapp target. - Run on simulator or device from that target only.
HealthKit capability configuration lives in project.yml.
If Apple Health shows as unavailable on device, confirm the signed app actually contains the entitlement:
./scripts/verify_healthkit_entitlement.shIf the script reports that com.apple.developer.healthkit is missing, the app was signed without HealthKit capability for that device build. Under a Personal Team, the app should degrade cleanly to Apple Health being unavailable instead of failing at runtime.
If a device build fails earlier with a provisioning-profile error saying HealthKit or Sign in with Apple is not included, the selected team/profile cannot sign those capabilities for this app. In that case, switch to a team/profile that supports those capabilities before expecting Apple Health to be connectable on device.