Not sure if this is a bug, but automatic code signing setup which worked perfectly in Xcode 8 is no longer working in Xcode 9 (9M137d).
This is error when building on device (it works normally on simulator):
"TARGET_NAME has conflicting settings for automatic signing. Capabilities differ across build configurations. Make these settings the same for each build configuration to continue using automatic signing, or switch to manual signing."
Here's some details:
- project has multiple targets, environments and build configurations
- "develop" and "stage" environments are signed with our enterprise account, but "production" environment is signed with client's developer account
- there's no error in using different value for "APS Environment" entitlement (ie. "development" and "production")
- capability which causes this error is "App Groups" (we had to define different App Group IDs on different developer accounts)
- we're using different .enitlements files depending on build configuration (essentially different App Group ID depending on code signing account)
Since Xcode 9 is still a beta, I hope that's gonna be fixed, because it might prevent us from using either App Groups (impossible) or Xcode 9 (too sad), or to switch back to manual code signing (also too sad). 😟
Any inside info on this?
Thanks,
Marko