I've been working on creating a release for an application (for iOS) I am working on but it seems like the transition between debugging and release is harder than I imagined. In Development, I was able to build successfully but now that I have switched over to a release version, it keeps coming back with 1 error and 2 warnings;
No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: aps-environment.
iOS deployment target '11.1' for architecture 'arm64' and variant 'normal' is greater than the maximum value '9.3.99' for the iOS 9.3 SDK.
iOS deployment target '11.1' for architecture 'arm64' and variant 'normal' is greater than the maximum value '9.3.99' for the iOS 9.3 SDK.
I presume this has something to do with the Provising Profiles needing to be in the Production form which you can do so on the developer App Store. I did this already and I am aware that the aps stands for the Apple Push Services. I did so but I seem to get the same error everytime so I either have done something wrong.
I have narrowed down some details that may be helpful but if not I apologies:
Thank you for your help in advance.
Looks like there could be a couple things going wrong.
This error is usually caused by setting the wrong <preference name="deployment-target" value="***" />
in your config.xml
. Depending on the version of cordova-ios
you're using would also effect how the Xcode project gets build. Make sure the version of cordova-ios
is compatibly with your version of Xcode.
And for this error, it would seem you don't have the entitlement set on your provisioning profile under your developer account. Go to developer.apple.com, log in, and find your app. There should be an edit button where you can change the entitlements. Its probably the one for Push Notifications. This can also be done in new versions of Xcode directly in the Capabilities tab.