I am developing an App that allows a user to provision a payment pass in the Wallet via the App. In order to do this you must request Apple to add the following entitlement
com.apple.developer.payment-pass-provisioning
to your development team such that you can create provisioning profiles with this entitlement.
In XCode 8.2 this was working correctly. Uploading an archive to the app store with this entitlement in the provisioning profile would have the entitlement included in the App. You could verify that the entitlement was there in the summary window before hitting the upload button for the final time.
However, in XCode 9, 9.1 and 9.2 the entitlement does not appear in the summary, and the entitlement is not present in the uploaded App. Has anyone else experienced this problem and has a solution, or is this just an XCode 9 bug.
For anyone running into this. In XCode 8 the entitlement is added 'magically' to the entitlement file. In 9 you have to set it yourself in the entitlement file dictionary as a boolean.
So for example, in your .entitlements add in the following to the Entitlements File Dictionary.
Key: com.apple.developer.payment-pass-provisioning
Type: Boolean
Value: Yes
Or in xml view
<key>com.apple.developer.payment-pass-provisioning</key>
<true/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With