ios 开发团队未在 Xcode 中显示
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/35674208/
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
Development team not showing in Xcode
提问by GoldXApp
I am an self-employed iOS developer and so have my own iOS distribution membership.
我是一名自雇 iOS 开发人员,因此拥有自己的 iOS 发行版会员资格。
For a few days, I am working as a developer in a team. My apple account has been added in their iTunes Connect / Users and Roles. It works since I can access to the app details of the current app we develop.
有几天,我在一个团队中担任开发人员。我的苹果帐户已添加到他们的 iTunes Connect/用户和角色中。它有效,因为我可以访问我们开发的当前应用程序的应用程序详细信息。
However, I can't get it right on Xcode. And so Xcode says the bundle ID is not right because I don't have the provisioning profiles.
但是,我无法在 Xcode 上正确处理。所以 Xcode 说 bundle ID 不正确,因为我没有配置文件。
In 'Project>General>Identity>Team', I can only select my own account and I don't see the new team I am part of. I don't see it neither in the Accounts page of Xcode preferences.
在“项目>常规>身份>团队”中,我只能选择自己的帐户,而看不到我所在的新团队。我在 Xcode 首选项的 Accounts 页面中也没有看到它。
A provisioning profile has been created by the team leader for me. It didn't solve the problem.
团队负责人已为我创建了配置文件。它没有解决问题。
Question: How to add new team we belong to in Xcode?
问题:如何在 Xcode 中添加我们所属的新团队?
Note - at long last Apple will resolve this insanity,
注意 - 苹果最终会解决这种疯狂问题,
They are finally fixing it in 2018:
他们终于在 2018 年修复了它:
回答by Kevin ABRIOUX
Overwhelming issue here:
压倒性的问题在这里:
Apple have two totally differentfundamental systems,
苹果有两个完全不同的基本系统,
- the "developer.apple" system
- “developer.apple”系统
and the
和
- iTunes connect system
- iTunes连接系统
They are completely different. As a rule you need to be in both.
他们是完全不同的。通常,您需要同时在两者中。
It's the single most confusing (and ridiculous) thing in the whole software industry. It is a source of endless confusion.
这是整个软件行业中最令人困惑(和荒谬)的事情。它是无休止的混乱之源。
When you suffer the problem on this page, 99% of the time the solution is "they added me on iTunes Connect, but they forgot to add me on Developer..." or "they forgot to make me an admin on one or the other."
当您遇到此页面上的问题时,99% 的解决方案是“他们在 iTunes Connect 上添加了我,但他们忘记将我添加到开发人员......”或“他们忘记让我成为其中一个或其他。”
If you are added to a existing team, Ask for an invitation as Admin
如果您已添加到现有团队,请以管理员身份请求邀请
Go in apple developer center: https://developer.apple.com/account
进入苹果开发者中心:https: //developer.apple.com/account
Again, that's developer.apple,
再次,那是 developer.apple,
NOT
不是
itunesconnect.apple !!!
iTunesconnect.apple !!!
Once you are in at developer.apple.com/account, be sure you are in the correct team on the top right corner:
进入 developer.apple.com/account 后,请确保您在右上角的正确团队中:
Go in section people
进入部分人
Be sure your are admin :
确保您是管理员:
If everything it's ok here. So stop completelly Xcode and restart it.
如果这里一切正常。所以完全停止Xcode并重新启动它。
Be sure your account is added to Xcode in Preference->Account
确保您的帐户已在 Preference->Account 中添加到 Xcode
If not, click on the + on the bottom left corner and add your account.
如果没有,请单击左下角的 + 并添加您的帐户。
Now, in your project, go on your target :
现在,在您的项目中,继续您的目标:
And in team, your new team must appear :
在团队中,您的新团队必须出现:
To repeat,
重复,
on Apple, there IS A DIFFERENCE BETWEEN 'DEVELOPER' AND 'ITUNES CONNECT' THINGS.
在 Apple 上,“开发者”和“ITUNES CONNECT”之间存在差异。
Your company has to invite you on the "developer thing" as shown in the images here. If you're "only" invited on the "itunes thing", nothing works. Really silly and bizarre, but that's how it is.
您的公司必须邀请您参与“开发人员的事情”,如此处的图片所示。如果您“仅”受邀参加“iTunes 项目”,则没有任何效果。真的很傻很奇怪,但事情就是这样。
回答by Hugo Dozois
As of February 12th 2019, Apple has now unified both AppStore Connect and developer.apple.com systems.
截至 2019 年 2 月 12 日,Apple 现已统一 AppStore Connect 和 developer.apple.com 系统。
To add profile & certificates capabilities:
添加配置文件和证书功能:
- Navigate to App Store Connect > Users and Access
- Select your user account. (You may need to be a team admin to do this.)
- In section "Developer Resources", check the box "Access to Certificates, Identifiers & Profiles".
- 导航到App Store Connect > 用户和访问
- 选择您的用户帐户。(您可能需要成为团队管理员才能执行此操作。)
- 在“开发人员资源”部分,选中“访问证书、标识符和配置文件”框。
回答by GoldXApp
SOLUTION : My account was not added in the certificates page of the member center of the development team leader. He just added me and I received an invitation to join. It solved the problem since I can now select my team in Xcode.
SOLUTION : 开发组长会员中心的证书页面没有添加我的账号。他刚刚加了我,我收到了加入邀请。它解决了这个问题,因为我现在可以在 Xcode 中选择我的团队。
回答by Adrián Peromingo Casas
In addition of what @opyh said, your user must have checked the option "Access to certificates, identifiers and profiles." in https://itunesconnect.apple.com/access/usersto see your own team.
除了@opyh 所说的之外,您的用户还必须选中“访问证书、标识符和配置文件”选项。在https://itunesconnect.apple.com/access/users中查看您自己的团队。
After that, you have to add your account in xcode > target > team, and you will show your user is assigned to a team.
之后,您必须在 xcode > target > team 中添加您的帐户,您将显示您的用户已分配到一个团队。
回答by nix
For this you have to do following things:
为此,您必须执行以下操作:
- Check whether your apple ID is added into the team on Apple Developer portal with specific role. If not then it should be added.
- After that you have to add your apple account in the settings of the Xcode at following path. If added then remove and add again
- 在 Apple Developer Portal 上查看您的 Apple ID 是否已添加到具有特定角色的团队中。如果没有,则应添加。
- 之后,您必须在以下路径的 Xcode 设置中添加您的 Apple 帐户。如果添加,则删除并再次添加
Xcode -> Preferences -> Accounts -> Add the account by clicking on 'Plus' (+) button on the left botttom section
Xcode -> Preferences -> Accounts -> 通过点击左下角的“加号”(+)按钮添加账户
If this is done and still have a issue then regenerate the provisioning profile, install and use it.
如果这样做但仍有问题,则重新生成配置文件,安装并使用它。
回答by opyh
It seems when Apple merged App Store Connect and Developer accounts, some accounts have been missed, like mine – In my case (I am part of a team, but not the account holder), I had to use a different solution:
当 Apple 合并 App Store Connect 和 Developer 帐户时,似乎遗漏了一些帐户,例如我的 – 就我而言(我是团队的一员,但不是帐户持有人),我不得不使用不同的解决方案:
- Check if your team shows up on https://appstoreconnect.apple.com(as entry in the menu in the top right corner)
- Check if your team shows up on https://developer.apple.com/account(as entry in the menu in the top right corner)
- 检查您的团队是否出现在https://appstoreconnect.apple.com 上(作为右上角菜单中的条目)
- 检查您的团队是否出现在https://developer.apple.com/account(作为右上角菜单中的条目)
If the team is missing in one of the menus, let the account owner remove your membership in App Store Connect and re-invite you. After accepting your new invitation, the missing team should be displayed on both App Store Connect and the Developer portal. Now you can also use it in Xcode.
如果其中一个菜单中缺少团队,请让帐户所有者删除您在 App Store Connect 中的成员资格并重新邀请您。接受新邀请后,缺少的团队应显示在 App Store Connect 和开发者门户上。现在您也可以在 Xcode 中使用它。