Provisioning profile not found

孤人 提交于 2019-12-10 04:17:02

问题


I have just upgraded my iPhone to the 4S and having restored all of the settings from my old phone I found that three of my apps were missing. I went to the Apple Dev centre and deleted my old phone and then rebuilt and downloaded the profiles with my new phone added. I removed all of the old profiles and copied the newly created ones across. The problem now is that in two of my projects, when I try to build I get an error -

[BEROR]Code Sign error: Provisioning profile '8A69C027-B06A-4A32-ABDA-855990018CA1' can't be found

I have gone into the Build Settings>Code Signing Identity>Debug and selected the correct profile and I've checked in Organizer that the profile exists in both the library and against my phone which has a green light next to it. What am I missing?


回答1:


Open project.pbxproj file in the Textedit app, remove lines with this text 8A69C027-B06A-4A32-ABDA-855990018CA1

These lines should look like this:

PROVISIONING_PROFILE = "8A69C027-B06A-4A32-ABDA-855990018CA1";

Reload Xcode.

ps. don't forget to backup your project!



来源:https://stackoverflow.com/questions/8878812/provisioning-profile-not-found

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