找不到配置文件 [英] Provisioning profile not found

查看:206
本文介绍了找不到配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将iPhone升级到4S并恢复了旧手机的所有设置,我发现我的三个应用程序都丢失了。我去了Apple Dev中心并删除了我的旧手机,然后在添加新手机的情况下重建并下载了配置文件。我删除了所有旧的配置文件并复制了新创建的配置文件。现在的问题是,在我的两个项目中,当我尝试构建时出现错误 -

I have just upgraded my iPhone to the 4S and having restored all of the settings from my old phone I found that three of my apps were missing. I went to the Apple Dev centre and deleted my old phone and then rebuilt and downloaded the profiles with my new phone added. I removed all of the old profiles and copied the newly created ones across. The problem now is that in two of my projects, when I try to build I get an error -


[BEROR]代码签名错误:供应资料
'8A69C027-B06A-4A32-ABDA-855990018CA1'无法找到

[BEROR]Code Sign error: Provisioning profile '8A69C027-B06A-4A32-ABDA-855990018CA1' can't be found

我已进入构建设置>代码签名标识>调试并选择了正确的配置文件,我在管理器中检查了配置文件存在于库中和我的电话旁边,该电话旁边有绿灯。我缺少什么?

I have gone into the Build Settings>Code Signing Identity>Debug and selected the correct profile and I've checked in Organizer that the profile exists in both the library and against my phone which has a green light next to it. What am I missing?

推荐答案

在Textedit应用程序中打开project.pbxproj文件,删除带有此文本的行8A69C027-B06A-4A32 -ABDA-855990018CA1

Open project.pbxproj file in the Textedit app, remove lines with this text 8A69C027-B06A-4A32-ABDA-855990018CA1

这些行应如下所示:

PROVISIONING_PROFILE = "8A69C027-B06A-4A32-ABDA-855990018CA1";

重新加载Xcode。

PS。不要忘记备份你的项目!

这篇关于找不到配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆