简体   繁体   English

当Xcode认为我不是注册的iOS开发人员时,如何“选择团队”? 另外,我需要iPhone来获得配置文件吗?

[英]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 $)。

  1. You must Registered For Apple Developer Program. 您必须注册苹果开发者计划。
  2. Then Create app id for Your Application. 然后为您的应用程序创建应用程序ID。
  3. Then Create Provisioning profile and Certificate. 然后创建配置文件和证书。
  4. Add Provisioning Profile to your project. 将置备配置文件添加到您的项目。
    1. while creating provisioning profile you need to add device uuid. 在创建配置文件时,您需要添加设备uuid。

Follow above steps. 请按照上述步骤。 I am sure your problem will solve. 我相信您的问题会解决。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 XCode - 我何时使用开发人员配置文件与分发配置文件签名? - XCode--When do I sign with developer provisioning profile vs distribution profile? 如何解决iOS Team Provisioning Profile警告 - How can I solve iOS Team Provisioning Profile warning 用于TestFlight的Xcode上传-我需要分发配置概要文件吗? - Xcode upload for TestFlight - do I need a distribution provisioning profile? 如何获取ios配置配置文件? - How can I get the ios provisioning profile? 如何在Xcode上删除iOS Team Provisioning Profile / AppID? - How to remove iOS Team Provisioning Profile / AppID on Xcode? 为了摆脱Xcode中的错误,我需要在Xcode或开发人员资料中进行哪些更改? - What do I need to change in Xcode or in my Developer profile in order to get rid of the error in Xcode? 我需要建立配置文件吗? - Do I need to make a provisioning profile? Xcode7 / iOS9:单元测试:iPhone开发人员:模棱两可(与“ iPhone开发人员:Max M.(团队A ID)和” iPhone开发人员:Max M.(Team B ID)匹配) - Xcode7 / iOS9: Unit Tests: iPhone Developer: ambiguous (matches “iPhone Developer: Max M. (Team A ID) and ”iPhone Developer: Max M. (Team B ID)) 如果我有免费的iOS开发者配置文件,如何调试“推送通知”? - How to debug `Push Notifications` if I have free iOS Developer Provisioning Profile? 将团队供应配置文件同步到iPhone - synching a team provisioning profile to an iPhone
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM