I'm having problems with the [gameName].entitlements for push notifications on iOS 10
In iOS 10 you have to press a 'fix me' button in the Push Notifications area under Capabilities. This creates a [gameName].entitlements file which contains the line:
aps-environment = development.
This file is in my .ipa bundle and should fix a problem with registering for push notifications in iOS10.
However, when my app runs I still get this error:
fail to register with error Error Domain=NSCocoaErrorDomain Code=3000
"no valid 'aps-environment' entitlement string found for application"
UserInfo={NSLocalizedDescription=no valid 'aps-environment'
entitlement string found for application}Any ideas?
Cheers,
Steve