Xcode 7 and 7.1 beta 2: no way to refresh "Managed by Xcode" provisioning profiles?

Originator:robotspacer
Number:rdar://22868032 Date Originated:26-Sep-2015 00:21 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.0 (7A220) and 7.1 beta 2 (7B75)
Classification:Other Bug Reproducible:Always
 
Summary:
OK first off I have no idea if this is broken or if I just don't understand what I'm supposed to be doing anymore. But I have a bunch of provisioning profiles that are "managed by Xcode". Sometimes they become invalid, or I add new devices that need to be included. There used to be a button in Preferences > Accounts that would refresh them; it has been replaced by a button that does not do this. Xcode 7.1 at least understands that the invalid profiles need to be updated, but the "Update" button next to them does nothing when I click on it.

Steps to Reproduce:
1. Go to https://developer.apple.com/account/ios/device/deviceList.action
2. Remove a device
3. Go to https://developer.apple.com/account/ios/profile/profileList.action
4. Note that any "Managed by Xcode" profiles are now invalid
5. Open Xcode 7 or 7.1 beta 2
6. Choose Xcode > Preferences
7. Click on the Accounts icon
8. Click "View Details…" in the bottom-right
9. Click "Download all"

Expected Results:
Admittedly, it just says "Download all", so it's reasonable to not expect it to do anything else. But it used to be a refresh button that would refresh any profiles it was managing and replace all the existing profiles with the latest versions. I can't say if I really *expected* it to still do that, but I at least *hoped* it would.

Actual Results:
Well, it does exactly what the button says. It downloads all the (valid) provisioning profiles. It doesn't update any invalid ones. It doesn't even delete any existing ones, it'll just dump a bunch of duplicates in there for you. While technically accurate, it is not very useful.

Version:
Most of my testing has been with Version 7.0 (7A220), on both OS X 10.10.5 and OS X 10.11 GM seed (15A282b). I also checked 7.1 beta 2 (7B75) to verify that the "Download all" button would not refresh the profiles there either.

Notes:
I could not figure out any way to get Xcode 7 or 7.1 beta 2 to update the invalid provisioning profiles. Perhaps if I had changed the capabilities of my project or something that would have forced it to update them, but I didn't want to change the project—just get updated profiles with the latest list of devices. Eventually I had to download Xcode 6.4 just to refresh the profiles; now I can download them with Xcode 7 successfully. This is especially unfortunate since I was hoping to upgrade my main development machine to 10.11 when it's released, but since it's not compatible with Xcode 6 I won't be able to.

Configuration:
iMac 5K, 4GHz i7, 32GB RAM, 1TB SSD, M295X

Attachments:

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!