Xcode loses track of provisioning profiles
| Originator: | atomicbird | ||
| Number: | rdar://19890379 | Date Originated: | 19-Feb-2015 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | 6.3 |
| Classification: | Serious Bug | Reproducible: | Sometimes |
Summary: When building an iOS app today Xcode complained that capabilities listed in the entitlements file might not work because no provisioning profiles matched the bundle identifier. This was puzzling since the app built without warnings (and with capabilities listed in the entitlements file obviously working) as recently as yesterday. But no, said Xcode, no such provisioning profile can be found in all the land of the kingdom, nor in the misty lands beyond. So I opened Xcode's preferences to the accounts tab, and, lo! There was no such provisioning profile! Had some knave stolen away with it while I slept? I visited the developer site and looked up my provisioning profiles. Saints be praised, the profile still existed! But Xcode was unable to find it. I clicked Xcode's "reload" button in the accounts preferences. Xcode thought very long and presumably very hard. It tried to distract me with trivialities about nonexistent OS X certificates. After a long while Xcode eventually located the provisioning profile, and there was much rejoicing across the land. tl;dr: Today I fixed three build warnings by telling Xcode to reload information it had yesterday, and then waiting a really long time. This is similar to but not the same as rdar://19870347 Steps to Reproduce: 1. Design an app that requires capabilities to be listed in its entitlements file. 2. Ensure that provisioning profiles are in place to permit these capabilities. 3. Build and run 4. Wait until the next day and then repeat step 3. Expected Results: Unless something in the scheme had expired, the app would continue to build without warnings. Actual Results: Despite there being no expirations or manual intervention in the signing and provisioning process or configuration, Xcode nevertheless lost track of the provisioning profile and produced builds which could no longer use the capabilities described in the entitlements. Version: Xcode Version 6.3 (6D520o) OS X 10.10.2 (14C109) Notes: Screenshot attached of Xcode's incorrect error messages.
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!