title: iOS Ad-Hoc Distribution: Can't sign provisioning profile with distribution certificate in Xcode
body: <p>I am trying to perform an ad-hoc deployment of my iOS app. I cannot use automatically managed provisioning profiles. So I have manually created an iOS Distribution provisioning profile at developer.apple.com and signed it with an associated Distribution Certificate. </p>
  
  <p>The problem is Xcode only lets me sign the distribution provisioning profile with a developer certificate:</p>
  
  <p><a href="https://i.stack.imgur.com/AERYB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AERYB.png" alt="enter image description here"></a></p>
  
  <p>developer.apple.com does not let you create a distribution provisioning profile with a developer certificate, so I don't know why Xcode does not let you sign with that same certificate. I have both development and distribution certificates valid (and they are not expired). </p>
  
  <p>How do I get Xcode to accept my distribution certificate as a signing certificate for the iOS Distribution provisioning profile?</p>