在刷新配置文件时,XCode“团队中项目太少”错误

时间:2023-01-27 13:32:54

I'm trying to build my apps. I've installed the provisioning profiles that my team has set up. I've installed my developer certificate and the WWDR certificate. But when I refresh my provisioning profile library it throws this error:

我正在尝试构建我的应用程序。我已经安装了我的团队设置的配置文件。我已经安装了开发人员证书和WWDR证书。但是当我刷新配置文件库时,它会抛出这个错误:

在刷新配置文件时,XCode“团队中项目太少”错误

I have no idea what to do.

我不知道该怎么办。

8 个解决方案

#1


10  

It seems like I had two accounts for apple like most people: 1) email address account and 2) just apple user ID login.

和大多数人一样,我似乎有两个苹果账号:1)电子邮件地址账户,2)只是苹果用户ID登录。

When you sign up for an iOS developer account, only one account gets approved as an iOS developer. It doesn't matter if those two accounts are merged and linked inside apple profile, only one gets approved. You can check this by logging into both accounts separately to their developer website. One account will say you are a member and another will say pay up the fee to become iOS developer.

当你注册一个iOS开发者账号时,只有一个账号被批准为iOS开发者。这两个账户是否合并并链接到苹果的个人资料中并不重要,只有一个账户获得了批准。您可以通过分别登录到他们的开发者网站的两个账户来检查这一点。一个帐户会说你是一个成员,另一个会说支付费用成为iOS开发者。

The problem is that your keychain already stored one of apple id credentials from the past... and you probably signed up for apple iOS developer program using the other apple login. Xcode automatically gets keychain's previously stored credential for 'Teams' section and since that account from keychain was not activated for the iOS developer account, it's complaining that no one is a valid developer in 'Teams'.

问题是您的密钥链已经存储了过去的一个苹果id凭证……你可能会用另一个苹果登陆系统注册苹果iOS开发者程序。Xcode自动获取keychain先前为“team”部分存储的凭据,由于keychain的账户没有为iOS开发人员账户激活,它在抱怨“team”中没有人是有效的开发人员。

To solve this,

为了解决这个问题,

  1. delete any, all apple related stuff from your keychain login.

    从你的钥匙链登录中删除任何与苹果相关的东西。

  2. revoke all the problematic profiles, certs, etc from apple website.

    从苹果网站上撤销所有有问题的个人资料、证书等。

  3. just redo provisioning process only using iOS developer approved apple login.

    只需使用iOS开发人员批准的苹果登录重新进行配置过程。

  4. From XCode Organizer's Teams section, click 'refresh' icon at the bottom and follow direction.

    从XCode Organizer的team板块,点击底部的‘refresh’图标,按照指示去做。

#2


5  

This happened to me when I use Apple Developer account which does not have valid iOS developer certificate. The certificate is either expired or never bought in the first place.

这发生在我使用没有有效iOS开发者证书的Apple Developer账号时。证书要么过期了,要么根本就没买过。

Once I log in with the valid iOS Developer account, the problem no longer appears.

一旦我登录了有效的iOS开发人员帐户,问题就不再出现了。

#3


3  

My solution was a simple logout from iTunes and Mac App Store. I was loged with an different Apple ID. This Apple ID is different from my Apple ID that I'm using for iOS Program.

我的解决方案是简单地从iTunes和Mac应用商店登出。我有一个不同的苹果ID,这个苹果ID和我在iOS程序中使用的苹果ID不一样。

#4


1  

I got the message too: "Too few items in Property/teams/Entity/Developer"

我也得到了这样的信息:“在属性/团队/实体/开发人员中项目太少”

It works now, after adding my account (which is connected with the macbook in itunes and which I used in Xcode) to an "Developer" under "Peoples" at https://developer.apple.com/membercenter/index.action#iPhoneDev

它现在可以工作了,在https://developer.apple.com/membercenter/index.action#iPhoneDev网站上,它把我的账户(在itunes中与macbook连接,在Xcode中使用)添加到“people”下的“开发人员”中

Give it a try.

试一试。

#5


1  

Just a quick note if somebody from Mac Develop program lands here:

如果有Mac开发项目的人来到这里,我简单说一下:

I'm brand new to Apple development, so, maybe this is a common knowledge, but I didn't ran across.

我对苹果的开发是全新的,所以,也许这是一个常识,但我没有遇到。

Signed up for Mac Developer program, not iOS, and tried to "Refresh from Developer Portal" with exact same error: "Too few items in teams." Tried all the steps above and elsewhere, with no success.

注册了Mac Developer program,而不是iOS,并试图“从Developer Portal刷新”,却犯了相同的错误:“团队中项目太少”。尝试了上面和其他地方的所有步骤,但没有成功。

Ended up calling their support to only find out that this particular functionality doesn't work with Mac Dev only (no iOS Dev) membership profiles. So, manual download/import is the solution as tech on the phone told me that it looks for iOS teams, doesn't find it and errors out.

最后打电话给他们的支持,只发现这个特殊的功能不支持Mac Dev(没有iOS Dev)的成员配置文件。所以,手动下载/导入是一个解决方案,正如手机上的技术告诉我的那样,它寻找iOS团队,但没有找到,也没有出错。

Hope this helps & saves a couple of hours of frustration for somebody.

希望这能帮到别人,也能帮到别人。

#6


1  

Please reference: https://developer.apple.com/legacy/library/technotes/tn2250/_index.html

请参考:https://developer.apple.com/legacy/library/technotes/tn2250/_index.html。

Provisioning Profile Refresh Troubleshooting:

配置文件更新故障排除:

If you are receiving the error message:

如果您正在接收错误消息:

Too few items in Teams

团队中项目太少

Perform the steps below:

执行以下步骤:

  1. Open Keychain Access > Passwords category.

    打开密钥链访问>密码类别。

  2. Delete the entries for daw.apple.com and daw2.apple.com

    删除daw.apple.com和daw2.apple.com的条目

  3. Retry the Provisioning Profile Refresh process.

    重试配置文件刷新过程。

#7


0  

I still encountered the same issue after following the other answers on this page. Here is what I needed to do to get things working.

在跟踪本页上的其他答案之后,我仍然遇到了同样的问题。下面是我需要做的事情来让事情正常运行。

Make sure that you have fully accepted the invitation email to join the Apple Developer program. Your account admin can verify your status through the management panel.

确保你已经完全接受了加入Apple开发者计划的邀请邮件。您的帐户管理员可以通过管理面板验证您的状态。

  1. Click the link inside the "Please verify your email address" email
  2. 点击“请验证您的电子邮件地址”中的链接
  3. Click the "submit" button to finish registration
  4. 点击“提交”按钮完成注册。

#8


0  

Go to developer.apple.com. In the upper right menu area, select "Member Center." Once in the Member Center, select "Certificates, Identifiers & Profiles."

访问developer.apple.com。在右上角的菜单区域,选择“成员中心”。一旦进入成员中心,选择“证书、标识符和概要文件”。

Verify your accounts have not expired; or if new to the program (or renewal) that the order has been processed.

核实你的帐户没有过期;或者如果新到的程序(或更新)订单已经被处理。

#1


10  

It seems like I had two accounts for apple like most people: 1) email address account and 2) just apple user ID login.

和大多数人一样,我似乎有两个苹果账号:1)电子邮件地址账户,2)只是苹果用户ID登录。

When you sign up for an iOS developer account, only one account gets approved as an iOS developer. It doesn't matter if those two accounts are merged and linked inside apple profile, only one gets approved. You can check this by logging into both accounts separately to their developer website. One account will say you are a member and another will say pay up the fee to become iOS developer.

当你注册一个iOS开发者账号时,只有一个账号被批准为iOS开发者。这两个账户是否合并并链接到苹果的个人资料中并不重要,只有一个账户获得了批准。您可以通过分别登录到他们的开发者网站的两个账户来检查这一点。一个帐户会说你是一个成员,另一个会说支付费用成为iOS开发者。

The problem is that your keychain already stored one of apple id credentials from the past... and you probably signed up for apple iOS developer program using the other apple login. Xcode automatically gets keychain's previously stored credential for 'Teams' section and since that account from keychain was not activated for the iOS developer account, it's complaining that no one is a valid developer in 'Teams'.

问题是您的密钥链已经存储了过去的一个苹果id凭证……你可能会用另一个苹果登陆系统注册苹果iOS开发者程序。Xcode自动获取keychain先前为“team”部分存储的凭据,由于keychain的账户没有为iOS开发人员账户激活,它在抱怨“team”中没有人是有效的开发人员。

To solve this,

为了解决这个问题,

  1. delete any, all apple related stuff from your keychain login.

    从你的钥匙链登录中删除任何与苹果相关的东西。

  2. revoke all the problematic profiles, certs, etc from apple website.

    从苹果网站上撤销所有有问题的个人资料、证书等。

  3. just redo provisioning process only using iOS developer approved apple login.

    只需使用iOS开发人员批准的苹果登录重新进行配置过程。

  4. From XCode Organizer's Teams section, click 'refresh' icon at the bottom and follow direction.

    从XCode Organizer的team板块,点击底部的‘refresh’图标,按照指示去做。

#2


5  

This happened to me when I use Apple Developer account which does not have valid iOS developer certificate. The certificate is either expired or never bought in the first place.

这发生在我使用没有有效iOS开发者证书的Apple Developer账号时。证书要么过期了,要么根本就没买过。

Once I log in with the valid iOS Developer account, the problem no longer appears.

一旦我登录了有效的iOS开发人员帐户,问题就不再出现了。

#3


3  

My solution was a simple logout from iTunes and Mac App Store. I was loged with an different Apple ID. This Apple ID is different from my Apple ID that I'm using for iOS Program.

我的解决方案是简单地从iTunes和Mac应用商店登出。我有一个不同的苹果ID,这个苹果ID和我在iOS程序中使用的苹果ID不一样。

#4


1  

I got the message too: "Too few items in Property/teams/Entity/Developer"

我也得到了这样的信息:“在属性/团队/实体/开发人员中项目太少”

It works now, after adding my account (which is connected with the macbook in itunes and which I used in Xcode) to an "Developer" under "Peoples" at https://developer.apple.com/membercenter/index.action#iPhoneDev

它现在可以工作了,在https://developer.apple.com/membercenter/index.action#iPhoneDev网站上,它把我的账户(在itunes中与macbook连接,在Xcode中使用)添加到“people”下的“开发人员”中

Give it a try.

试一试。

#5


1  

Just a quick note if somebody from Mac Develop program lands here:

如果有Mac开发项目的人来到这里,我简单说一下:

I'm brand new to Apple development, so, maybe this is a common knowledge, but I didn't ran across.

我对苹果的开发是全新的,所以,也许这是一个常识,但我没有遇到。

Signed up for Mac Developer program, not iOS, and tried to "Refresh from Developer Portal" with exact same error: "Too few items in teams." Tried all the steps above and elsewhere, with no success.

注册了Mac Developer program,而不是iOS,并试图“从Developer Portal刷新”,却犯了相同的错误:“团队中项目太少”。尝试了上面和其他地方的所有步骤,但没有成功。

Ended up calling their support to only find out that this particular functionality doesn't work with Mac Dev only (no iOS Dev) membership profiles. So, manual download/import is the solution as tech on the phone told me that it looks for iOS teams, doesn't find it and errors out.

最后打电话给他们的支持,只发现这个特殊的功能不支持Mac Dev(没有iOS Dev)的成员配置文件。所以,手动下载/导入是一个解决方案,正如手机上的技术告诉我的那样,它寻找iOS团队,但没有找到,也没有出错。

Hope this helps & saves a couple of hours of frustration for somebody.

希望这能帮到别人,也能帮到别人。

#6


1  

Please reference: https://developer.apple.com/legacy/library/technotes/tn2250/_index.html

请参考:https://developer.apple.com/legacy/library/technotes/tn2250/_index.html。

Provisioning Profile Refresh Troubleshooting:

配置文件更新故障排除:

If you are receiving the error message:

如果您正在接收错误消息:

Too few items in Teams

团队中项目太少

Perform the steps below:

执行以下步骤:

  1. Open Keychain Access > Passwords category.

    打开密钥链访问>密码类别。

  2. Delete the entries for daw.apple.com and daw2.apple.com

    删除daw.apple.com和daw2.apple.com的条目

  3. Retry the Provisioning Profile Refresh process.

    重试配置文件刷新过程。

#7


0  

I still encountered the same issue after following the other answers on this page. Here is what I needed to do to get things working.

在跟踪本页上的其他答案之后,我仍然遇到了同样的问题。下面是我需要做的事情来让事情正常运行。

Make sure that you have fully accepted the invitation email to join the Apple Developer program. Your account admin can verify your status through the management panel.

确保你已经完全接受了加入Apple开发者计划的邀请邮件。您的帐户管理员可以通过管理面板验证您的状态。

  1. Click the link inside the "Please verify your email address" email
  2. 点击“请验证您的电子邮件地址”中的链接
  3. Click the "submit" button to finish registration
  4. 点击“提交”按钮完成注册。

#8


0  

Go to developer.apple.com. In the upper right menu area, select "Member Center." Once in the Member Center, select "Certificates, Identifiers & Profiles."

访问developer.apple.com。在右上角的菜单区域,选择“成员中心”。一旦进入成员中心,选择“证书、标识符和概要文件”。

Verify your accounts have not expired; or if new to the program (or renewal) that the order has been processed.

核实你的帐户没有过期;或者如果新到的程序(或更新)订单已经被处理。