此文轉(zhuǎn)載自:這篇博客
在Xcode中當你在更新了你得證書而再重新編譯你的程序,真機調(diào)試會出現(xiàn)“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.”白热。解決方案如下:
關閉項目雁比,找到項目文件XXXX.xcodeproj,在文件上點擊右鍵框沟,選擇“顯示包內(nèi)容”(Show Package Contents)。會新打開一個Finder。
在新打開的Finder中找到project.pbxproj桨啃,并且打開,找到所有包含報錯的UUID‘XXX’的行(包含UUID后面的一串數(shù)字的行檬输,可能不包含"UUID")照瘾,整行刪除。
保存丧慈,重新啟動項目析命,再編譯,就OK了逃默。