ExternalLinkAccount API

I am having a very strange problem with await ExternalLinkAccount.canOpen On some apps using the same project and code (different targets) it reports false, but works in the simulator.

Some apps work both in the simulator and a device and, but some apps only work in the simulator. They are all sharing the same code.

What could be wrong? They all have SKExternalLinkAccount and the correct url in plist and they also have the com.apple.developer.storekit.external-link.account entitlement

I found the solution. The entitlements file for some of the apps seemed to be corrupt although they looked ok. When I deleted the file and generated a new one the problem was fixed.

ExternalLinkAccount API
 
 
Q