1 Reply Latest reply on Jul 21, 2017 7:05 AM by nickr63538445

    How to add iOS entitlement com.apple.developer.pass-type-identifiers

    nickr63538445

      I'm trying to add this entitlement, com.apple.developer.pass-type-identifiers, via a phonegap build. The entitlement is described here: Apple Pay and PassKit Entitlements

       

      Apple provides instructions for turning on this entitlement for an Xcode native project, but obviously no instructions for a phonegap build.

       

      I am using PhoneGap cli-6.5.0 (iOS / Android / Windows) (4.3.1 / 6.1.2 / 4.4.3)

       

      Things I have tried:

       

      In my phonegap build's `config.xml`, I added:

      ```

      <config-file target="*-Release.plist" parent="com.apple.developer.pass-type-identifiers">
        <array>
        <string>pass.urbanairship</string>
        </array>
      </config-file>
      <config-file target="*-Debug.plist" parent="com.apple.developer.pass-type-identifiers">
        <array>
        <string>pass.urbanairship</string>
        </array>
      </config-file>

      ```

       

      I also tried adding the same as above in the `plugin.xml` of the plugin that I have included in my build, GitHub - passslot/cordova-plugin-passbook: Passbook Plugin for Cordova/PhoneGap

       

       

      Neither was successful at changing the Entitlements, which shows in phonegap build log as:

      ```

      Entitlements:

       

      {

        "application-identifier" = "XXXXXXXXXX.com.abcdefghij";

        "aps-environment" = development;

        "com.apple.developer.team-identifier" = XXXXXXXXXX;

        "get-task-allow" = 1;

      }

      ```

       

       

      This appears to be a related topic Re: Wrong value for `com.apple.developer.associated-domains`