iOS- Provisioning profile issues.

旧城冷巷雨未停 提交于 2019-12-01 10:28:15

问题


OK, so I have tried everything possible but still having issues.

I am testing on two devices. An iPhone and an iPad. When I connect the iPhone to Xcode and hit run it builds on the iPhone without any problems but when I connect the iPad to Xcode and hit run it fails and gives me this

This product type must be built using a provisioning profile, however no provisioning profile matching both the identity

I used to be able to test very easily before I upgraded to Xcode5.

Now it works on one device but not the other. Can anyone please tell me how I can fix this?

All my devices are upgraded to iOS 7.1 as well.


回答1:


In order to fix this problem, please follow these steps:

I. Go to Xcode Settings (Xcode -> Preferences), and select "Accounts." Make sure you are signed in to your developer account.

II. Click on the first tab under the run button, and then click on the name of the project (circled in red)

III. Under "Identity" select the account that matches your build identifier, or click "Fix Issue"

IV. If this does not fix your issue, go to "Build Settings" -> "Code Signing"

V. Finally: If this does not fix your issue, go back to the Certificate Center in the iOS Developer Center (developer.apple.com) and reprovision the certificate, then repeat these steps.



来源:https://stackoverflow.com/questions/22564724/ios-provisioning-profile-issues

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