IOS real machine debugging problems
In the Archive Project, an error occurs in "Your build settings specify a provisioning profile with the uuid" ", however, no such provisioning profile was found. It is strange that the provisioning profile of the specified UUID cannot be found. It is clear that your provisioning profile is just downloaded and is all newly installed. So Google found the answer.
Reference: http://stackoverflow.com/questions/1760518/codesign-error-provisioning-profile-cannot-be-found-after-deleting-expired-prof
The preceding error is solved by modifying the. xcodeproj file of your project.
1. Find the **. xcodeproj file in the project, right-click it, and choose show package contents (open package content ).
2. Open the project. pbxproj file and open it in a text editor. In fact, right-click the OPEN button.
3. After opening the file, press command + F to search for "provisioning_profile" in the file and find the"
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: rgb(238, 238, 238);"><span class="pln" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;">PROVISIONING_PROFILE </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;">=</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;"> </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(128, 0, 0); background-color: transparent;">"487F3EAC-05FB-4A2A-9EA0-31F1F35760EB"</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;">;</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;"></span><span class="str" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(128, 0, 0); background-color: transparent;">"PROVISIONING_PROFILE[sdk=iphoneos*]"</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;"> </span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;">=</span><span class="pln" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;"> </span><span class="str" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; color: rgb(128, 0, 0); background-color: transparent;">"487F3EAC-05FB-4A2A-9EA0-31F1F35760EB"</span><span class="pun" style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; background-color: transparent;">;</span></code><span style="background-color: transparent;">”类似的都删除。</span>
注意是删除后面的值 不要删错了!
<span style="background-color: transparent;">4.然后保存文件,重新打开项目。xcode会提示你重新下载安装provisioning profile文件。下载后安装上就可以。</span>
Your build settings specify a provisioning profile with the uuid, no provisioning profile was