[Flutter / iOS] Missing aps-environment entitlement
A record of checking push notification capabilities and signing while integrating FCM into a Flutter app.
September 15, 2023
While implementing FCM in Flutter, the iOS build reported:
No valid aps-environment entitlement string found for application.
I first found advice to add Push Notifications under Xcode’s Signing & Capabilities. But the capability did not immediately appear in the list, so I spent time checking the signing setup.
In that project, turning off automatic signing management and adding the Push Notifications capability resolved the error. This records the configuration that worked at the time.
Original post: View source