9
votes

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.

1
I'm also using "com.apple.developer.payment-pass-provisioning" these entitlements in my app Apple granted this entitlement for my team ID modified my provisioning profile with this entitlement enabled But still I'm getting this error ApplePayDemo[1080:612489] com.test.mib missing entitlement: com.apple.developer.payment-pass-provisioning - S P Balu Kommuri
Hi Balu. See my answer below. You need to add it as an entitlement. I will put in a proper answer,. - Bergasms

1 Answers

8
votes

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/>