关闭

Your build settings specify a provisioning profile with the UUID, no provisioning profile was

标签: ioswarning
366人阅读 评论(0) 收藏 举报
分类:

在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",找到和这个“

<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="color:#8000;margin:0px; padding:0px; border:0px; vertical-align:baseline; 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="color:#8000;margin:0px; padding:0px; border:0px; vertical-align:baseline; 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="color:#8000;margin:0px; padding:0px; border:0px; vertical-align:baseline; 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>
<span style="background-color:transparent">
</span>


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:47234次
    • 积分:853
    • 等级:
    • 排名:千里之外
    • 原创:26篇
    • 转载:83篇
    • 译文:0篇
    • 评论:0条
    文章分类