我心永恒的专栏

真正的强者是打不败的。

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

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


阅读更多
文章标签: ios warning
个人分类: IOS错误日志
上一篇iOS 9 适配系列教程
下一篇The executable was signed with invalid entitlements
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭