I have two certificates in my keychain that I use for code signing. One is my team’s production certificate that I use for signing apps for enterprise distribution. The other is my development certificate (part of the same team) that I use for signing apps for development.
In Xcode 8 I have deselected ‘Automatically manage signing’ and now my certificate has been set to the production certificate associated with my team, which now only allows me to sign distribution apps. I am able to change the Provisioning Profile to a development one, but then I get an error that “Provisioning profile “Development-Profile" doesn't include signing certificate “Production-Certificate”. But Xcode 8 does not allow me to change my Certificate manually.
How can I change between code signing identities within the same team in Xcode 8?