XCode error: failed to load profile

When I'm importing a provisioning profile XCode throws the error failed to load profile. And says: "Profile is missing the required UUID property".

Does anybody know what this means?

Does anybody know what this means?

Internally a provisioning profile is a signed CMS message where the payload is a property list. One of the property properties is UUID, which holds a UUID that uniquely identifies the proflie. For example, on my machine I see this:

% security cms -D -i ~/Library/MobileDevice/Provisioning\ Profiles/06173b84-15f0-47fe-95e7-736703767cbd.provisionprofile | plutil -convert xml1 -o - -
…
<dict>
    …
	<key>UUID</key>
	<string>06173b84-15f0-47fe-95e7-736703767cbd</string>
	<key>Version</key>
	<integer>1</integer>
</dict>
</plist>

This message means that the UUID property is missing or corrupted, but it might also mean that the entire profile is broken.

Note For more info about how profiles work, see TN3125 Inside Code Signing: Provisioning Profiles.

How did you create this profile?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

XCode error: failed to load profile
 
 
Q