在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了。