更新證書錯誤:No matching provisioning profiles found

在Archive項目時,出現了“Your build settings specify a provisioning profile with the UUID “”, however, no such provisioning profile was found”的出錯。一直提示指定UUID的provisioning profile找不到,感覺很奇怪。明明自己的provisioning profile是剛下載好的,並且全是新安裝。於是通過谷歌找到了答案。

參考地址:http://stackoverflow.com/questions/1760518/codesign-error-provisioning-profile-cannot-be-found-after-deleting-expired-prof

這裏所說的就是要通過修改你的項目的.xcodeproj文件來解決上述的錯誤。

1.找到項目中的**.xcodeproj文件,點擊右鍵,show package contents(打開包內容)。

2.打開後找到project.pbxproj文件,用文本編輯器打開。其實就是右鍵,點擊open就好了。

3.打開這個文件後,按command+F,在這個文件中查找“PROVISIONING_PROFILE",找到和這個“

PROVISIONING_PROFILE = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";

"PROVISIONING_PROFILE[sdk=iphoneos*]" = "487F3EAC-05FB-4A2A-9EA0-31F1F35760EB";”類似的都刪除。

4.然後保存文件,重新打開項目。xcode會提示你重新下載安裝provisioning profile文件。下載後安裝上就可以。(xcode更新後直接打開就已經安裝好provisioning profile文件。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章