error: no valid aps-environment entitlement string found for application

1,483 views
Skip to first unread message

Boris van der Meer

unread,
Sep 23, 2013, 9:31:38 AM9/23/13
to phon...@googlegroups.com
Hello,

I'm having a problem with the pushplugin. I got this error when I start the application on a ios device: error: no valid 'aps-environment' entitlement string found for application . The application is build with phonegap build website.

I read a lot about this error and I tried to fix it, but it didn't work. This is what I did:


- I created the provisioning profiles as last, but that didn't work. I did everything over, but again the same result. I tried to create the provisioning profiles again, but still i got that error. In phonegap I have not errors, just in the application.

- The push notification setting is enabled (for development) in the App ID. 

- In the .mobileprovision file is the <key>aps-environment</key>  present.


I don't know how I can fix this error. Can you give me some advise? In android works everything fine.


Fai Wong

unread,
Nov 19, 2013, 2:40:13 PM11/19/13
to phon...@googlegroups.com
Hi,

I received the same error too.

Then I followed the instructions under 'Generating the Certificate Signing Request (CSR)' section onwards and it worked for me!

Also I noticed in Xcode -> Build Settings -> Code Signing section. You need to check if your Provisioning Profile is there to pick from. If not, you have to follow the instructions in the link above to download your Provisioning Profile and then drag and drop that download into XCode so you can see the selection there.

Fai Wong

unread,
Nov 19, 2013, 2:41:40 PM11/19/13
to phon...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages