天天看點

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

在做ios開發時,在Xcode中當你在更新了你得證書而再重新編譯你的程式。好多人會遇到真機調試會出現“Your build settings specify a provisioning profile with the UUID‘XXX’, however, no such provisioning profile was found.  Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.”。按照如下放下做就行了:

1.關閉項目,找到項目檔案XXXX.xcodeproj,在檔案上點選右鍵,選擇“顯示包内容”(Show Package Contents)。會新打開一個Finder。

2.在新打開的Finder中找到project.pbxproj,并且打開,找到你所有包含報錯的UUID‘XXX’的行,删除。

3.儲存,重新啟動項目,再編譯,就OK了。