问题
I am an self-employed iOS developer and so have my own iOS distribution membership.
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.
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.
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.
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?
Note - at long last Apple will resolve this insanity,
They are finally fixing it in 2018:
回答1:
Overwhelming issue here:
Apple have two totally different fundamental systems,
- the "developer.apple" system
and the
- iTunes connect system
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."
If you are added to a existing team, Ask for an invitation as Admin
Go in apple developer center: https://developer.apple.com/account
Again, that's developer.apple,
NOT
itunesconnect.apple !!!
Once you are in at developer.apple.com/account, be sure you are in the correct team on the top right corner:
Go in section people
Be sure your are admin :
If everything it's ok here. So stop completelly Xcode and restart it.
Be sure your account is added to Xcode in Preference->Account
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.
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.
回答2:
As of February 12th 2019, Apple has now unified both AppStore Connect and developer.apple.com systems.
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".
回答3:
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.
回答4:
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
Xcode -> Preferences -> Accounts -> Add the account by clicking on 'Plus' (+) button on the left botttom section
If this is done and still have a issue then regenerate the provisioning profile, install and use it.
回答5:
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/users to see your own team.
After that, you have to add your account in xcode > target > team, and you will show your user is assigned to a team.
回答6:
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:
- 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)
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.
来源:https://stackoverflow.com/questions/35674208/development-team-not-showing-in-xcode