Hey there,
I'm using XCode 8 beta 2 and running into an issue running an app in Release mode.
In Xcode 7 I had an Debug configuration and a Release configuration. Debug was pointed to iOS Developer in Code signing, and Release was pointed to iOS Distribution. I sometimes would switch to the Release config in the "run" part of the scheme to test parts of the app that needed to be signed with a Distribution profile (in our case, testing push notifications or IAP).
But having trouble with XCode 8. Specifically, I'm trying to use the Automatic Signing feature.
By default, turning this on defaults to using a Developer Cert and corresponding Provisioning Profile. If I try and change my Release configuration in "Code Signing Entitlements" to use the automatic "iOS Distribution" setting, I get the following error:
"[App] is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the target editor."
I suppose I could try and go back to the manual signing, but I thought the whole point of this Automatic signing would be that it would make my life easier.
Has anyone run into this issue before? Can you have multiple Development/Distrubution code signing on the same target depending on configuration, or does that require manual signing to work.
Thanks!
Will