Before shipping push notifications to the App Store or TestFlight, one thing needs to be in place:
Enable Push Notifications on the Apple Developer portal
The aps-environment entitlement in the app must be backed by a provisioning profile that includes the Push Notifications capability.
Steps:
- Go to developer.apple.com → Certificates, Identifiers & Profiles
- Find the
com.wisp.app App ID and enable Push Notifications
- Regenerate and re-download the provisioning profile
This covers both TestFlight and App Store — both use the production APNs environment.
Flip aps-environment to production ✅ Done — project.yml now sets APS_ENVIRONMENT to development for Debug builds and production for Release builds automatically.
Neither of these matters for development builds — direct Xcode installs use the debug provisioning profile and development APNs.
Before shipping push notifications to the App Store or TestFlight, one thing needs to be in place:
Enable Push Notifications on the Apple Developer portal
The
aps-environmententitlement in the app must be backed by a provisioning profile that includes the Push Notifications capability.Steps:
com.wisp.appApp ID and enable Push NotificationsThis covers both TestFlight and App Store — both use the production APNs environment.
Flip✅ Done —aps-environmenttoproductionproject.ymlnow setsAPS_ENVIRONMENTtodevelopmentfor Debug builds andproductionfor Release builds automatically.Neither of these matters for development builds — direct Xcode installs use the debug provisioning profile and
developmentAPNs.