Xcode:不在任何开发团队中
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16296617/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode: Not on any development teams
提问by tamasgal
I'm developing and selling apps on the Mac App Store and today, when I wanted to refresh and add new provisioning profile in Xcode (Organiser), this error showed up:
我正在 Mac App Store 上开发和销售应用程序,今天,当我想在 Xcode (Organiser) 中刷新并添加新的配置文件时,出现了以下错误:
(Not on any development teams. The indicated user is not on any development teams)
(不在任何开发团队中。指示的用户不在任何开发团队中)
When I try to create a new provisioning profile in Xcode, a modal form shows up and there is a drop down list named "Team", which is completely empty. The App ID, devices list etc. are empty too…
当我尝试在 Xcode 中创建新的配置文件时,会显示一个模式表单,并且有一个名为“团队”的下拉列表,该列表完全为空。App ID、设备列表等也是空的……
Does anyone know what Apple changed? It worked for years. I clicked through iTunes Connect and the Development centre and I did not find any settings for teams whatsoever. I guess that's something new, since I did not even got a google hit on the error message.
有谁知道苹果改变了什么?它工作了多年。我点击了 iTunes Connect 和开发中心,但没有找到任何团队设置。我想这是新的东西,因为我什至没有在谷歌上找到错误消息。
回答by David
In Xcode > Preferences > Accounts, try deleting -
the selected (problem) account and then adding +
again. This quickly fixed the issue for me.
在 Xcode > Preferences > Accounts 中,尝试删除-
选定的(有问题)帐户,然后+
再次添加。这很快为我解决了这个问题。
Background: I'm in both Mac & iOS Developer Programs. Unannounced, the Mac Developer side was no longer provisioned. Looking at Accounts, showed only iOS program signing identities and provisioning profiles. The above steps restored Xcode and my Mac apps.
背景:我同时参与 Mac 和 iOS 开发人员计划。未经宣布,不再提供 Mac 开发人员端。查看帐户,仅显示 iOS 程序签名身份和配置文件。上述步骤恢复了 Xcode 和我的 Mac 应用程序。
回答by maxhs
If anyone comes here after finding the issue in XCode 6.1, simply remove then re-add your Apple ID. Nothing worked for me until I did that.
如果有人在 XCode 6.1 中发现问题后来到这里,只需删除然后重新添加您的 Apple ID。在我这样做之前,没有什么对我有用。
回答by rjferguson
I did what Iniles did, but I can't comment on his answer. Here are the steps, since they didn't outline them:
我做了 Iniles 所做的,但我无法评论他的回答。这是步骤,因为他们没有概述它们:
- Go to iOS Dev Center
- Select 'Certificates, Identifiers & Profiles' in the top right. (This won't be there if your membership has expired.)
- Select 'Certificates'
- Click on your username
- Select 'Download'
- Do the same for your Distribution Certificate. Mine didn't work till I downloaded both.
- Open the file, should auto open in Keychain Access. If it doesn't, open Keychain Access and drag over the file into your 'login' keychain.
- 前往 iOS 开发中心
- 选择右上角的“证书、标识符和配置文件”。(如果您的会员资格已过期,这将不会存在。)
- 选择“证书”
- 点击您的用户名
- 选择“下载”
- 对您的分发证书执行相同操作。我的没用,直到我下载了两个。
- 打开文件,应该在钥匙串访问中自动打开。如果没有,请打开钥匙串访问并将文件拖到您的“登录”钥匙串中。
Make sure the certificate is being installed in your 'login' keychain in Keychain Access. I once had an issue where it was going to the wrong place.
确保证书已安装在钥匙串访问中的“登录”钥匙串中。我曾经遇到过一个问题,它去错了地方。
I'd also like to note that I had to do this every time I updated the provisioning profiles, so I think it might be a bug with their server right now.
我还想指出,每次更新配置文件时我都必须这样做,所以我认为现在他们的服务器可能存在错误。
回答by Pascal Bourque
I was able to fix the issue simply by launching Keychain
, then clicking Refreshin Xcode Organizer.
我能够通过推出简单解决这个问题Keychain
,然后单击刷新在Xcode的组织者。
Nothing special to do in Keychain, just launch the app and have it running while clicking Refresh.
在钥匙串中没有什么特别的事情,只需启动应用程序并在单击刷新时运行它。
回答by lniles
I had the same issue today. I was able to get around it by (re)downloading my developer and distribution certificates from the portal and re-adding them to my keychain. It worked in my n=1 case, hopefully it helps others too.
我今天遇到了同样的问题。我能够通过(重新)从门户下载我的开发人员和分发证书并将它们重新添加到我的钥匙串来解决它。它在我的 n=1 情况下有效,希望它也能帮助其他人。
回答by tamasgal
Some hours after renewing my developer enrollment, it worked again…?However due getting really mad, I deleted, regenerated and imported/exported the certificates like a boss, so I'm not sure what the real solution was.
更新我的开发人员注册几个小时后,它又工作了...?但是由于真的很生气,我像老板一样删除,重新生成和导入/导出证书,所以我不确定真正的解决方案是什么。
回答by tytk
Coming late to this question but for any developers having this issue in 2016+, I got it to work by removing my Apple ID under "Accounts" and then re-adding it. I had previously had " is not on any development teams" under Team Name. After re-adding, my Apple ID was automatically signed up for the free tier. The problem probably stems from having an old Mac with XCode installed before the free tier was introduced.
这个问题来晚了,但对于在 2016 年以上遇到此问题的任何开发人员,我通过在“帐户”下删除我的 Apple ID 然后重新添加它来使其工作。我以前在团队名称下有“不在任何开发团队中”。重新添加后,我的 Apple ID 自动注册了免费套餐。问题可能源于在引入免费层之前安装了带有 XCode 的旧 Mac。
回答by Devaski
This is happening may be because the developer account is not renewed. May be using earlier Xcode versions can help to take ipa build until the developer account is renewed.
出现这种情况可能是因为开发者帐户没有续订。可能使用较早的 Xcode 版本可以帮助进行 ipa 构建,直到更新开发者帐户。
Note: Apple Development ECO system is getting corrupted. Few days back, they increased the iOS developers fees to 79 Pounds from 60 Pounds in UK. There was no proper information/announcement on this either on the payment page or the iOS developer page.
注意:Apple Development ECO 系统正在损坏。几天前,他们将 iOS 开发人员的费用从英国的 60 英镑提高到 79 英镑。在支付页面或 iOS 开发者页面上都没有关于此的适当信息/公告。