Very easy actually. For some reason it got disabled on Xcode 8 but go to Targets -> Capabilities and verify Push Notifications is all correct on that view. For me it had a “Fix Me” I had to click, and voila.
More Related Contents:
- Provisioning profile doesn’t include the application-identifier and keychain-access-groups entitlements
- No valid ‘aps-environment’ entitlement string found for application on app store
- This certificate has an invalid issuer Apple Push Services
- Code signing is required for product type ‘Application’ in SDK ‘iOS 10.0’ – StickerPackExtension requires a development team error
- How do I change my iOS applications’ entitlements?
- Xcode 7.2 no matching provisioning profiles found
- Xcode Command /usr/bin/codesign failed with exit code 1 : errSecInternalComponent
- Codesign error: Provisioning profile cannot be found after deleting expired profile
- didReceiveRemoteNotification not working in the background
- How to remove provisioning profiles from Xcode
- Refresh devices in team provisioning profile managed by Xcode 7?
- An App ID with Identifier ” is not available. Please enter a different string
- Xcode 8.3 / Xcode 9.0 Refresh provisioning profile devices
- The executable gets signed with invalid entitlements in Xcode
- What does get-task-allow do in Xcode?
- An App ID with Identifier ‘com.example.app.extention’ is not available. Please enter a different string
- How to create Entitlement.plist file in Xcode?
- Label doesn’t show text
- iOS Universal Links are not opening in-app
- Xcode stuck at “Your application is being uploaded”
- APNS (Apple Push Notification Service) reliability
- Cocoapods: Failed to connect to GitHub to update the CocoaPods/Specs specs repo
- iOS push notification: how to detect if the user tapped on notification when the app is in background?
- How can I programmatically determine if my app is running in the iphone simulator?
- Why am I getting ibtool failed with exit code 255?
- The bundle’s Info.plist does not contain a CFBundleVersion key or its value is not a string
- How can I show a view on the first launch only?
- iphone image captured from camera rotate -90 degree automatically
- Steps to create and edit a plist file in Xcode
- Xcode 4.3.2, issue with running on simulator