-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
The warning "ITMS-90078: Missing Push Notification Entitlement" occurs when your iOS app has been submitted to the App Store without the necessary push notification entitlements configured, but your app or its frameworks use APNs (Apple Push Notification service) features.
To fix this issue in a Flutter project, follow these steps:
-
Enable Push Notifications in Xcode:
- Open your iOS project in Xcode (located in
<your_project>/iosfolder). - Select your app's target and go to the "Signing & Capabilities" tab.
- Click on "+ Capability" button and add "Push Notifications".
- Open your iOS project in Xcode (located in
-
Ensure your App ID is Configured for Push Notifications:
- Go to the Apple Developer Member Center.
- Navigate to "Certificates, IDs & Profiles" > "Identifiers".
- Find your app's identifier and make sure "Push Notifications" service is enabled.
-
Provisioning Profile:
- Make sure you have a provisioning profile that includes push notifications for your app.
- If needed, generate a new provisioning profile that includes the push notification entitlement and download it.
- Double-click the downloaded file to install it in Xcode.
-
Update your Flutter project:
- If you made changes to the entitlements or provisioning profile, you might need to clean and rebuild your Flutter project.
- Open a terminal, navigate to your Flutter project directory, and run:
flutter clean flutter build ios
-
Re-submit your app:
- After making the necessary changes, archive your app again in Xcode and submit it to the App Store via Xcode or the Application Loader.
Note: If your app does not use push notifications, this error could also be triggered by a third-party library that references APNs. In this case, you may need to remove the library or disable its push notification features if not used.
Before re-submitting your app, make sure to test it thoroughly to ensure that the push notification capabilities are correctly implemented and that there are no other entitlement issues.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status