I\'ve read Where does xcode take application's Identifier from? , XCode bundle identifier formatting from {PRODUCT_NAME} , and loads more but...
I\'m trying to g
I had this problem, the scenario was:
I had setup an app id without push notifications support. I'm using Xcode 5.1 + iOS 7.1
Later, edited the app id to add push notifications in development and production.
Created the APNs certificates for both.
When you test PN using your device attached to Xcode, everything works ok. The problem appears when you release the app to production, you keep getting:
"Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string
found for application" UserInfo=0x15b200 {NSLocalizedDescription=no valid
'apsenvironment' entitlement string found for application}" error.
The solution that worked for me was: