title: Can't use the iOS distribution in Xcode
body: <p>In my <code>Xcode 9</code> project I have the <code>Automatically manage signing</code> checked. I want to sign the application with the <code>iOS distribution</code> certificate. For some reasons, when I was creating the certificate I entered the name and email of another person. In the <code>keychain Access</code> I can see the public and private keys with the name of that person and under the private one, the <code>iPhone distribution</code> certificate. The problem is that in Xcode when I select the <code>Team</code>, I'm only getting the <code>iPhone developer</code> <code>signing certificate</code> and not the the <code>distribution</code> one. But from the <code>Build Setting</code> I can see the <code>iPhone distribution</code> in the select list of the <code>Code Signing Identity</code>. Once I select it, <code>Xcode</code> detect a conflict of the <code>provisioning profile</code> (because I change it manually and the <code>Automatically manage signing</code> is checked). I tried the solution of check then uncheck it and select the team but the problem is still here.</p>