Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing aps-environment in provisioning profile!

For some reason our adhoc provisioning profile just won't have the aps-environment entitlement! We've made sure that the profile is generated after we enabled the production apns for that app id. We've actually even created a new adhoc profile for that app id and even the new profile does not have that entitlement when checked using a text editor. What's going on?

like image 414
erotsppa Avatar asked Dec 06 '22 23:12

erotsppa


1 Answers

  1. Ensure the Bundle Identifier matches the one in your project's plist.
  2. Create a new App ID, and configure it for production/development push before creating a new provisioning profile.
  3. Make sure you're build and archiving on the right target, with the right configuration. You might need to go back to project settings and double check with the correct configuration selected (I use release for this).
like image 68
Alan Zeino Avatar answered Dec 09 '22 13:12

Alan Zeino