Apple Push Notification Error (aps-environment)

I registered the application in iTunes connect. When I run the application on the device, I get the following APNS error.

Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x19e890 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}

I used the same AppID and bundle in the xCode project as well as iTunes connect.

In addition, I forgot to mention that the application is registered in the Enterprise developer profile, and I run it under my personal developer profile.

+5
source share
2 answers

You either did not enable Push notifications in the Provisioning Portal, or you did not sign your application with the correct certificate that was created when you enabled Push notifications.

+9
source

Provisioning Profiles, "", "", , Provisioning ( ).

: http://i.stack.imgur.com/2l2hd.png

0

All Articles