iOS Provisioning Profile not installing on one particular device

柔情痞子 提交于 2019-12-08 15:59:20

问题


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


回答1:


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.




回答2:


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.




回答3:


There may be few reasons behind that because information is not enough so i can just guess -

  • If you're getting any boot strap error in console then delete app from device then switched OFF your device then ON and try again.
  • May be in your device there is already an app having same profile so your app would overwrite on previous one and new app would not be install.
  • Last It might be provisioning profile issue. Make it again.


来源:https://stackoverflow.com/questions/12532905/ios-provisioning-profile-not-installing-on-one-particular-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!