2

我试图让我的 XCode 在我的 iPhone 上运行应用程序。

前段时间我试图从 XCode 中做到这一点(什么都不知道),它抱怨我的 Apple ID 没有使用开发者帐户设置。很公平。

现在我确实有一个开发者帐户(我是一个组织的成员)。收到注册电子邮件后,我立即按照他们的说明设置证书并将其添加到我的钥匙串等等。

然后我按照这些说明尝试设置 XCode。当我谈到使用我的设备进行开发时,那个按钮并不存在。但正如说明所说:

如果该设备过去曾用于开发,则可能不会出现“用于开发”按钮。如果发生这种情况,请单击屏幕底部的“添加到门户”。

所以我点击了“添加到门户”,一个配置文件出现在列表中,一切看起来都很好。然后我进入“代码签名您的应用程序”部分。这就是我所看到的:

在此处输入图像描述

我希望会有一个部分用于iOS Team Provisioning Profile: *或其他东西。当然,这意味着当我尝试运行我的应用程序时,它会因代码签名错误而失败。

我一直在尝试删除和重新添加东西,但这就是我总是卡住的地方。我可以提供更多信息,我只是......不知道你想要什么。我该如何进行?

谢谢。

4

2 回答 2

4

You can try CMD Shift 2, going to the Devices tab, and refresh the provisioning profiles and/or the team. It should ask you to log in - and hopefully will update your profile for you.

If it doesn't, it's the same every time. Your device needs to be added to the devices on the portal by a team admin. You said you have a certificate. If not using the team provisioning profile, you have to add your certificate to the profile you are using. Then make sure to quit xcode and reopen it after the changes.

于 2013-06-06T20:33:48.057 回答
2

从开发人员站点下载证书和移动配置文件。然后双击它们以添加到您的钥匙串/组织者中。

于 2013-06-07T11:05:44.070 回答