[英]How to “select a team” when Xcode thinks I'm not a registered iOS developer? Also, do I need an iPhone to get a provisioning profile?
When I try to create an archive for my finished app, I get this message: 当我尝试为完成的应用程序创建存档时,出现以下消息:
No non-expired provisioning profiles were found.
找不到未过期的配置文件。 Xcode can resolve this issue by downloading a new provisioning profile from the Membership Center.
Xcode可以通过从成员资格中心下载新的配置文件来解决此问题。
I click Fix Issue
. 我单击“
Fix Issue
。
I then get: 然后我得到:
The selected team doesn't have an iOS Developer Program membership.
所选团队没有iOS开发者计划成员资格。 Select a team with an iOS Developer Program membership and try again.
选择具有iOS开发人员计划成员资格的团队,然后重试。
I do have an iOS developer program membership but I can't figure out how to "select a team." 我确实有iOS开发人员计划的成员资格,但我不知道如何“选择团队”。 I've looked around and can't find any resources on how to correct this.
我环顾四周,找不到有关如何更正此问题的任何资源。 Anyone else had this problem?
还有其他人有这个问题吗?
Edit: 编辑:
When I go to Project > General > Identity > Team
, my account is correctly associated with the app, and it says that I have an iOS developer membership. 当我转到“
Project > General > Identity > Team
,我的帐户已正确与该应用程序关联,并显示我具有iOS开发者身份。 Yet no provisioning profile and the above errors persist. 但是,没有任何配置文件,上述错误仍然存在。
Edit2: EDIT2:
When I click Fix Issue
beneath "Team" in the Identity section of Project > General
, to correct the lack of provisioning profile, I get a different error: 当我在“
Project > General
”的“标识”部分中的“团队”下单击“ Fix Issue
”以更正缺少配置文件时,出现另一个错误:
Unable to create a provisioning profile because your team has no devices registered in the Member Center.
无法创建配置文件,因为您的团队没有在会员中心中注册任何设备。 Please connect a device, enable it for development, and add it to the Membership Center using the Organizer.
请连接设备,使其能够进行开发,然后使用管理器将其添加到会员中心。
I have a Mac, but no iPhone....does that mean I can't publish the app? 我有一台Mac,但没有iPhone...。这是否意味着我无法发布该应用? Or can I use the Mac?
还是可以使用Mac? How do I add it?
如何添加? I don't see any option in the organizer.
我在组织者中看不到任何选择。
Per your last remaining road block 根据您最后剩下的路障
Unable to create a provisioning profile because your team has no devices registered in the Member Center.
无法创建配置文件,因为您的团队没有在会员中心中注册任何设备。 Please connect a device, enable it for development, and add it to the Membership Center using the Organizer.
请连接设备,使其能够进行开发,然后使用管理器将其添加到会员中心。
You need to register a device. 您需要注册设备。 If you do not own one, find a friend or relative and ask them to allow you to register their device.
如果您不拥有自己的设备,请找到朋友或亲戚,并请他们允许您注册他们的设备。 It will not create any issues for them.
它不会给他们带来任何问题。 You do not need the device after that for archiving, it just needs to be registered so a profile can be generated.
之后,您不需要该设备进行归档,只需注册该设备即可生成配置文件。
You can set the device to be a generic iOS device
. 您可以将设备设置为
generic iOS device
。 When I was running an archive with my iPhone as the default target, I would get the team error that you are receiving. 当我使用iPhone作为默认目标运行存档时,会收到您收到的团队错误。 Changing this to
generic iOS device
solved this issue for me. 将其更改为
generic iOS device
为我解决此问题。
Firstly you have to purchase iOS Developer Program.(its cost is 99$ Per Year.) 首先,您必须购买iOS Developer Program。(其费用为每年99 $)。
Follow above steps. 请按照上述步骤。 I am sure your problem will solve.
我相信您的问题会解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.