Xcode尝试将分发配置文件安装到设备

时间:2011-01-05 12:37:42

标签: xcode ios4 code-signing

因此,我使用我的发布配置文件为App Store提交了我的应用程序并提交了它。

现在,我来测试我的iPhone上的新更新,Xcode一直告诉我

"Cant run 'my app' on iPhone 'Joes iPhone'.
The iPhone “Joe’s iPhone” doesn’t have the provisioning profile with
which the application was signed.

Click “Install and Run” to install the provisioning profile 
“Distribution Profile” on “Joe’s iPhone” and continue running “myapp.app”.

我的配置是Debug,代码签名标识在项目和目标设置中都设置为iPhone Developer。

如何让Xcode再次开始使用开发者资料?

由于

3 个答案:

答案 0 :(得分:1)

我必须转到项目菜单并选择“编辑活动目标” - 即使我的配置文件是正确的,该目标仍设置为我的App Store版本配置文件,而不是我的开发配置文件。我不知道这个的根本原因,但确实解决了这个问题。

答案 1 :(得分:0)

这没关系。如果单击“安装并运行”,XCode会将配置文件安装到手机,然后安装应用程序并运行它。

Moszi

答案 2 :(得分:0)

重新下载的证书并清除所有目标