Before I want to upload something to Apples App Store I do this steps.
- Git clone repository
- npm install
- ionic resources ios
- ionic platform add ios
- ionic build ios --prod
So that nothing can go wrong and everything works fine.
Sometimes a npm -g outdated and then updating the outdated packages.
The last time I did this successfully was on 9th January.
After opening the project in XCode everything looks great.
At capabilities tab I saw Push Notifications checked, Maps checked, Background modes (remote Notifications) checked and Associated Domains checked.
Then now I did the same and only the maps and Background modes tab is checked.
Not the Push Notifications and not the associated Domains.
I found out that the plugins which I’m using (onesignal-cordova-plugin & ionic-plugin-deeplinks) write to the Entitlements file.
I can find them in platforms/ios/MyApp/Entitlements-Release.plist and Entitlements-Debug.plist.
But its not enabled anymore.
I uploaded the file to iTunes Connect and I got a mail that Missing Push Notification Entitlement … the app signature’s entitlements do not include the “aps-environment” entitlement.
I found out that I can solve this by using the –entitlements flag (https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html).
Can someone explain me why this changed and why this is not checked automatically?
Its important to know why this things changed without any information so that we can handle things like this in advance
Thank you really really much in Advance! For any ideas!