How to Fix "No Valid 'Aps-Environment' Entitlement String Found for Application" in Xcode 4.3

No valid 'aps-environment' entitlement string found for application on app store

I fix this problem by enabling push notification capability.

Click on .xcodeproj -> Capabilities -> Enable Push Notification

Sample Image

How to fix no valid 'aps-environment' entitlement string found for application in Xcode 4.3?

The answer was: start over, do everything the same but create a new provisioning profile, and install it. That worked. Inspecting all the details (entitlements in mobile provision) looks exactly the same as everything in my question here. But now it works. Apple: WAT?

Of course, it would have been obvious to do this if it was possible to delete provisioning profiles. But since that's not possible, I didn't want to clutter our team with a bunch of test profiles. Still, finally lost patience and tried it anyway, and it ended up working. Whatevs.

no valid 'aps-environment' entitlement string found for application when trying to enable push notifications

Of course I figure out what's wrong right after typing a question - the bundle identifier in xcode did not match my appid, and I forgot to update the certificate I uploaded to urban airship after restarting the configuration process.



Related Topics



Leave a reply



Submit