Apple Wallet - Unable to provision in RELEASE - Entitlements failure

Developing Apple Wallet functionality (provisioning credit and debit cards) from my App, I'm unable to open the Apple Wallet screens with the provisioning steps.

The bug occurs only in RELEASE (installing the App from TestFlight). Tests in DEBUG/DEVELOP (deploying from XCode) are successful, this means that the Apple provisioning screen opens correctly.

We have generated the provisioning profile, setting the Select for the Entitlement that Apple has enabled and we have loaded them correctly.

At the same time, we enabled the CAPABILITY Apple Wallet and configured the related Entitlements as follows:

<key>com.apple.developer.pass-type-identifiers</key>
<array>
      <string>$(TeamIdentifierPrefix)*</string>
</array>
<key>com.apple.developer.payment-pass-provisioning</key>
<true/>

The only information we have obtained, taken from the gather logging, is that when we install the App (from TestFlight) the following error is generated:

<err> (0x16fecXXXXXX) _InstallProvisioningProfile: Could not install embedded profile: 0xeXXXXXXXXXXX (Attempted to install a Beta profile without the proper entitlement.).

We have exhausted the alternatives available to us, we can only wait for Apple to respond.

If anyone has encountered this situation and could share their experience or solution, I would be completely grateful.

Hey, I'm really not sure about this (and maybe you already found the solution), could it be that the use of Beta profile is for DEBUG/DEVELOP and not for RELEASE/TestFlight?

Apple Wallet - Unable to provision in RELEASE - Entitlements failure
 
 
Q