Xcode Uses .mobileprovision UUID instead of file name.

Originator:skabber
Number:rdar://22343177 Date Originated:8/19/2015
Status:Duplicate/15251006 Resolved:
Product:Xcode Product Version:All versions
Classification:Enhancement Reproducible:Yes
 
Xcode uses the .mobileprovision UUID as the file identifier from which to get the signing information. It should instead use the file path/name to get the signing information.

1. Download a .mobileprovision file from the developer portal.
2. Install it into ~/Library/MobileDevice/Provisioning Profiles
3. Set your Xcode target to use that profile by selecting it in the build settings.
4. Update the .mobileprovision profile on the developer portal by adding a new entitlement.
5. Download and install that new profile into ~/Library/MobileDevice/Provisioning Profiles overwriting the first profile from step 1 & 2.
6. Build the target in Xcode.

I would expect the target to be built and signed with the new profile that was installed in step 5.

Xcode tries to sign the target with the .mobileprovision from step 1. This is because that profiles UUID is embedded in the Xcode project instead of the file path/name of the wanted profile.

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!