certificatecode-signingxcode8-beta2

Change Signing Certificate in Xcode 8 Beta 2


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?


Solution

  • Well I immediately found the answer to my own question, of course. I assumed the old Code Signing/Provisioning Profile sections from Build Settings had been removed and replaced completely by the Signing section of the General tab in Xcode. In fact they are still there and you can use them as usual. Thought I'd answer my own question instead of deleting for everyone else who might have assumed the same!