When I build my app with ionic run ios -lc
, I get the error message:
console.error: EXCEPTION: Uncaught (in promise): Error: - no valid 'aps-environment' entitlement string found for application"
But when I build with xcode, I do not get this error and my push notifications are working just fine…
I tried several things, like removing and adding the ios build…
Recreating the provisioning profiles and certificates from this tutorial: http://docs.ionic.io/services/profiles/
I tried all code signing identities from the build settings in xcode…
I changed the app id in config.xml and removed the numbers, because with numbers I could not create the certificates…
I switched on the push notifications option in xcode>capabilities and also the remote notifications…
I think its something with the ionic build settings, but I don’t know where to look.
Can someone help me out?