Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Provisioning Profile not installing on one particular device

I recently have distributed an app for testing, and the test team are having a problem installing the app, more specifically the provisioning profile associated with the app.

They are using an iPhone 4 (iOS 5.1.1) and are getting "Could not install the provisioning profile due to an unknown error"

I am used to seeing this when a UDID is not registered against the profile which is trying to be installed, but they are adamant that they have supplied the correct UDID. In terms of the profile, both looking at provisioning on the iOS Dev account, and opening in a text editor confirms that the UDID that has been supplied is definitely present.

My question is, are there any known issues (other than wrong UDID supplied) which could cause this to occur on a device, even if that device is authorised to install that particular provisioning profile?

Thanks

like image 925
user1557896 Avatar asked Sep 21 '12 14:09

user1557896


2 Answers

This won't answer your question because your problematic device is iOS-5.1, but it may help lots of other people:

Another possible issue since iOS7 is where did you find UDID. As Apple says:

In iOS 7, apps that are already on the store or on users’ devices that call this removed API will no longer be returned the UDID. Instead, -[UIDevice uniqueIdentifier] will return a 40-character string starting with FFFFFFFF, followed by the hex value of -[UIDevice identifierForVendor].

Consequetly, check the UDID your client/collaborator sends to you: if it begins with FFFFFFFF, thats a wrong one.

The only & unique method to get UDID under iOS7 is to plug your device to a computer, launch iTunes (or Xcode) and copy the displayed UDID.

like image 98
Martin Avatar answered Oct 20 '22 00:10

Martin


Looks like the UDID which is generated programmatically gives a random alphanumeric code from iOS 7. So to make sure you are using the right one, connect it to iTunes and then copy the UDID.

like image 45
nithinreddy Avatar answered Oct 19 '22 23:10

nithinreddy