ChatGPT解决这个技术问题 Extra ChatGPT

Development team not showing in Xcode

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:

https://i.stack.imgur.com/PtnTb.png

Incredibly, 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 images by @imbru below. If you're "only" invited on the "itunes thing", you're screwed. So stupid.

F
Fattie

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".

Update: This answer posted in February 2019 is still valid as of September 2021


I'm trying to add someone as an App Manager, when I scroll down to this checkbox it is unchecked and greyed out not allowing me to check the box. Any idea why?
@Wikkle_A the checkbox looked disabled to me, but clicking in it worked. The click target is super small though, and clicking the label doesn't work.
So we found out that I didn't have permissions for certificates on the client account. Under the User tab there is now a checkbox to allow permissions for certificates that can only be given by people who have permissions of certificates.
This option appears to be completely disabled if you have an "Individual" developer account instead of an "Organization" developer account. Even if I hack into the HTML and forcefully check the checkbox, when I try to save the changes, I get an error that says "Your account doesn't have permission to edit other users. Contact your team agent for more information." For the record, I'm the account owner/admin, so I should have access to everything. More info: apple.stackexchange.com/a/358562/13594
This is the current solution under the unified systems. The accepted answer is outdated.
C
Community

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:

https://i.stack.imgur.com/Nypq3m.jpg

Go in section people

https://i.stack.imgur.com/s2krRm.png

Be sure your are admin :

https://i.stack.imgur.com/SDeOH.png

If everything it's ok here. So stop completelly Xcode and restart it.

Be sure your account is added to Xcode in Preference->Account

https://i.stack.imgur.com/ru08e.png

If not, click on the + on the bottom left corner and add your account.

Now, in your project, go on your target :

https://i.stack.imgur.com/UtTm3.png

And in team, your new team must appear :

https://i.stack.imgur.com/FzI4r.png

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.


Thanks! 'stop completely XCode and restart it.' - solved the issuse for me
This was the actual solution for me. My account wasn't added to developer.apple.com yet. After that + installing the required certificates and keys I was able to build and upload the app.
This was really helpful as I was confused. Apple should make some little tutorial videos like the Android team. Android is being more fun to develop for recently.
Also remember that you can only invite people if you have a company. If your account is registered as an individual developer you will not even see the People button.
THIS IS OUT OF DATE. Please see the answer by Hugo Dozois.
y
yoAlex5

Xcode does not see your development team(it is not a personal team) until admin check in the next setting in AppStoreConnect even if your role is Developer

Access to Certificates, Identifiers & Profiles

It works, App manager can do it too though.
As an App Manager, i need access to this area. I can't, the admin did not allow it specifically.
Confirmed, this is definitely what fixes the issue, and yes you'll need the team admin to do it.
N
Nikolay Suvandzhiev

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.


Do you mean the developer.apple.com/account/ios/certificate page? I have the same problem but can't find where you would add certificates for an different account.
In fact, you don't have to add certificates for a different account at any time at the condition of setting up properly iTunes Connect, which is not easy at all ! I don't exactly know which page to go since it is my team leader who did it.
S
SHANNAX

For those who live in 2021 but are simply lost, here is where the "Team" button moved !

You’ll simply find it under the section “Signing and Capabilities” instead of “Main”. See the image below:

https://i.stack.imgur.com/AAqfE.jpg


Please add all informaiton to your answer instead of linking to images
Last version of July 2020
Shannah shows here as a (Personal Team), but a personal team can't archive a ipa, so this allows you to test on simulators, but not act as an "xcode developer" who can create ipas.
what do i have to do to archive IPA since I'm on personal team?
A
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/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.


n
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

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.


1. My apple ID has been added with a specific role since I can manage the app on iTunes connect. 2. My account is already into xCode since I already have uploaded app from this account directly from xCode. I have received a .mobileprovision and double-clicked it but it didn't solve my problem.
o
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:

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.


I have no idea, why it was neccessary but removing and adding my account again helped. thx!
D
Dominick

You may also need the appropriate certificate. without the need to have full access to certifications or to be full admin

https://i.stack.imgur.com/oszPR.png

Please see the link below for more information:

Apple's documentation of what app signing is https://help.apple.com/xcode/mac/current/#/dev3a05256b8

Apple's documentation on how to "Create, export, and delete signing certificates" https://help.apple.com/xcode/mac/current/#/dev154b28f09


Please summarize the contents of the link.
t
thanhbinh84

I faced into the same issue, after 1 hour trying many ways, they showed your developer program was expired :D. Why don't it show at the first time to save my time.


T
Takudzwa Dominic Raisi

For me I had to go build settings under Signing -> Code signing identity then changed it to iOS Developer and went under Development team -> select others then add the team key.


P
Patrick Steadman

If you recently signed into the account, ensured you have the correct permissions in Apple Developer + App Store Connect, and still can't get a new team to show up, I've had to restart my computer or log out / log in order to get it to appear. Sounds crazy but this has been the only resolution for me on multiple occasions.


A
Anthony Peña

I had this same issue. I needed my admin to additionally grant me 'Access to Certificates, Identifiers & Profiles'. The solution was given here by user bruno887 https://developer.apple.com/forums/thread/117098