Xcode fails with obscure error message when provisioning profile missing
| Originator: | nskboy | ||
| Number: | rdar://10924910 | Date Originated: | 24-Feb-2012 09:16 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 4.3 (4E109) |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Xcode fails with fairly unclear error message while checking for ability to perform code signing: "Code Sign error: The identity 'iPhone Distribution: XXX' doesn't match any identity in any profile". However code signing certificate exists in the default keychain along with private key associated with the certificate. Steps to Reproduce: 1. Configure build machine with valid code signing certificate and private key. But you should not add any provisioning profiles to the machine. 2. Perform project build (e.g. xcodebuild build) Expected Results: Xcode should fail with clear error message: Code signing identity 'iPhone Distribution: XXX' exists but no provisioning profile found. Actual Results: Xcode fails with obscure error message: "Code Sign error: The identity 'iPhone Distribution: XXX' doesn't match any identity in any profile" Regression: n/a Notes: This issue appears while I configure new build machine manually. It's pretty easy to forget some of the required steps in the configuration process and it will be very helpful if Xcode tells me exactly what is wrong with code signing. I've spent a lot of time until I find the root of this issue.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!