最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]Your build settings specify a provisioning profile with the UUID however no such provisioning profile was found

iOS crifan 2549浏览 0评论

都参考了:

Distribution证书会提示A valid provisioning profile for this executable was not found – dlm_211314的专栏 – 博客频道 – CSDN.NET

去:

Build Setting-》Provisioning Profile-》Release选择:

AdHoc的Distribution

结果都还是出错:

Failed to code sign "JianDao"

Your build settings specify a provisioning profile with the UUID “635e42f4-98fb-40aa-81d2-9d51375ef519”, however, no such provisioning profile was found.

Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.

搜:

Your build settings specify a provisioning profile with the UUID

Xcode报错:“Your build settings specify a provisioning profile with the UUID….. however, no such provisioning profile was found” – 小、 – 博客园

ios – Xcode 7.2 no matching provisioning profiles found – Stack Overflow

ios – build settings specify a provisioning profile with the UUID – Stack Overflow

Your build settings specify a provisioning profile with the UUID, no provisioning profile was found – rbyyy(Create produce different) – 博客频道 – CSDN.NET

Your build settings specify a provisioning profile with the UUID “”, however, no such provisioning profile was found”的出错 – 简书

都已经是空的了。

后来,确保Xcode中创建了iOS Development的signing identities后,

重新弄了AdHoc的Distribution证书,结果还是出错:

Failed to code sign "JianDao".

Your build settings specify a provisioning profile with the UUID “b6aa4f4d-5155-4a3e-9946-a144d31d529f”, however, no such provisioning profile was found.

Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.

后来注意到上面的UUID

b6aa4f4d-5155-4a3e-9946-a144d31d529f

不在我之前已经提供的8个UDID中

-》不知道这个UUID是哪里来的?

failed to code sign no such provisioning profile was found

Say goodbye to Xcode’s "no such provisioning profile was found" error – Possible Mobile

Jenkins, Xcode: "No matching provisioning profile found" – KISS

Your build settings specify a provisioning profile with the UUID

code signing provisioning profile distribution

Create Ad Hoc Provisioning Profile | Code | Telerik Platform

好像是说:对于code signing了Ad Hoc Distribution Provisioning Profile的app,是没法用于调试的

edit scheme中改回debug

再去试试,好像就可以正常编译了?

结果发现还是有问题的:

结果又变回去了:

后来的后来,找到原因了:

Xcode没有及时同步:

(在Member Center中已经更新了Provisioning Profile后)

需要删除掉Xcode本地的已有的Provisioning Profile

然后此时右边会自动更新,出现:Download

不要急着点击Download

(如果不重启Xcode,则可能会出现?否则此处虽然下载了最新的Provisioning Profile,但是Xcode中Code singing中的Provisioning Profile中也还是会保留的旧的:

-》导致你编译还是出错)

而是,去重启Xcode

然后此时,Xcode中Code singing中的Provisioning Profile中:

就没了你刚才删除的(那个旧版本的)Provisioning Profile了

然后再去点击两个Download,即可看到已下载:

不对,此处试了试,重启Xcode都不行:

要move to trash后,

再手动去删除旧的provisioning profile:

然后此处倒是可以自动显示出Download

此处,去看看:

结果竟然还是找不到:

干脆去网站上,手动下载:

然后用Xcode打开:

但是Xcode没有任何反应。

双击打开也出错:

然后去点击了Download All:

结果错误信息却变了,好像是找不到另外一个provisioing profile了:

把三个都删除了:

再点击Download All

右击查看:

可见:此处的adhoc的distribution,就是那个1658的pp文件

然后错误也没了:

结果编译还是出错:

重启Xcode

结果还是出问题,debug和release的push证书没了:

现在去把:

Project和Target,都设置统一的配置

[总结]

总的感觉是:

还是自己的此处的Code Signing相关的配置有问题

而不是Xcode中Provisioning Profile的不一致而导致此处的问题的。

即确保:

Project和Target的配置都一致

确保Code Signing Identity中的Debug和Release,及其下的Any iOS SDK,

所有的配置都一致

(而不要向我之前的Any iOS SDK中的值没有指定,只保留的默认的iPhone Developer)

这样就不会出现:

Your build settings specify a provisioning profile with the UUID however  no such provisioning profile was found

的错误了。

但是如果还是提示:

Failed to code sign

那么记得去:

重启Xcode看看,很多时候,就可以解决此问题了。。。

转载请注明:在路上 » [已解决]Your build settings specify a provisioning profile with the UUID however no such provisioning profile was found

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
89 queries in 0.199 seconds, using 22.04MB memory