'Missing Push Notification Entitlement' for iOS standalone build
See original GitHub issueEnvironment
OS: macOS Sierra 10.12.6
Node: 8.11.2
Yarn: 1.7.0
npm: 5.6.0
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found
Packages
expo: ^28.0.0 => 28.0.1
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-28.0.0.tar.gz => 0.55.4
Steps to Reproduce
- Create a standalone build using
exp build:ios
and allow Expo to manage all certificates and profiles - Upload the build to iTunes Connect
Expected Behavior
The build is processed without issues and available for TestFlight submission.
Actual Behavior
I get a warning email from iTunes Connect:
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 8 does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:21
- Comments:17 (1 by maintainers)
Top Results From Across the Web
Missing Push Notification Entitlement - Apple Developer
Hi All,. I'm attempting to upload a new version of our app. We're using the Ionic/cordova framework, and everything is up to date...
Read more >ITMS-90078: Missing Push Notification Entitlement
This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually ...
Read more >[Solved]-iOS - Missing Push Notification Entitlement
Open your favorite text/code editor and drop this in. Then update the two values in the following code and save it as “entitlements.plist”....
Read more >How to not use push notifications or setup them correctly
Just tried and its the same. What did I do: Build #1 - get error Missing Push Notification Entitlement; Build #2 expo build:ios...
Read more >Firebase/AdMob and "Missing Push Notification Entitlement"
To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In order to fix this, you need to enable “Push notifications” for your app on the app store.
TL;DR: Expo needs to enable the “Push Notification” service when creating the app in the Apple Developer Portal
I have the same problem. I do not use Push notifications. In developer.apple.com it states that Push Notifications are disabled. Do I understand it correctly that I need to enable them to work with Expo (although I do not use it) or do I need to change something in my development environment? and if the second is true, what? I have btw no problems submitting the app and testing it in Testflight