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.
The problem is Xcode only lets me sign the distribution provisioning profile with a developer certificate:
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).
How do I get Xcode to accept my distribution certificate as a signing certificate for the iOS Distribution provisioning profile?