Home > Software engineering >  Missing push notification entitlement while publishing iOS app with Appollo
Missing push notification entitlement while publishing iOS app with Appollo

Time:09-08

I tried to publish my app to the app store with appollo but it failed. I got an e-mail from Apple with the following error message :

ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the 'aps-environment' entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the 'aps-environment' entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

The logs on Appollo seem to be fine :

----- Building IPA with Flutter -----
Archiving be.test.wollo...
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Automatically signing iOS for device deployment using specified development team in Xcode project: 9M5TAN4D63
Running pod install...                                             66.0s
Running Xcode build...                                          
Xcode archive done.                                         165.6s
Built /Users/appollo/Documents/app/build/ios/archive/Runner.xcarchive.

           
  • Related