I have a project with a number of different build configurations, 4 for one developer account and 3 for another, each having production, alpha and beta build configurations and the first having a debug configuration. all 7 have different bundle ids
each developer account has apply pay setup with it’s own set of apple pay merchant ids.
Im getting the error that one build configuration’s provisioning profile is missing support for the other developer account’s merchant id and vice versa, they work fine if i delete the build configurations from the other developer account but when they are both in the project the error comes up.
Is there a workaround for this? am i missing something to tell the build configuration to only use it’s own merchant id?
Since the targets use the same entitlements
to modify the capabilities such as Apple Pay
, Associated Domain
and Push Notifications
etc.
My solutions:
Create the .entitlements
files individually.
Targets → Build Phases
→ Copy Bundle Resources
and link the correct .entitlements
file.
Targets → Build Settings
→ Signing
→ Code Signing Entitlements
and link the correct .entitlements
file.
Back to Signing & Capabilities
, now you could set it successfully :)
Hope it works for you!
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