There was a previous user before me using this Enterprise Mac. The administrator added my account and made me administrator too. But when I want to update XCode, it asks me for connexion with the previous user ! I can't change this field, it forces me to connect with the old user.

How can I change that please?

enter image description here

Doing a Sign Out didn't change anything. It is always associated to the previous account...

  • 1
    If the computer is controlled by your company, you will have to ask them. They should have cleared any previous user's data from it before assigning it to you.
    – Tetsujin
    May 19, 2021 at 9:00
  • Can you create a new Apple ID and disconnect the active Apple ID from System Preferences, then connect with the new Apple ID?
    – user415185
    May 19, 2021 at 15:05

1 Answer 1


Uninstall the pervious version of Xcode installed on your Mac and install the latest one.

This was the only solution that worked for me when I forgot the account with which I downloaded Xcode, but it did take about 24 hours to work.

  • Can you clarifying your answer? I’m trying to follow what you wrote, but the solution isn’t clear.
    – Allan
    Dec 22, 2022 at 6:02
  • uninstall the pervious Xcode installed on your Mac and install new one Dec 22, 2022 at 6:29
  • Please Edit your answer with this clarification. I should have mentioned that in my first comment
    – Allan
    Dec 22, 2022 at 6:37
  • You mean, update the last XCode Version? I always do updates, even big ones, and it didn't change Dec 23, 2022 at 8:13
  • you should delete your XCode and then reinstall the latest version from AppStore Dec 23, 2022 at 10:05

Not the answer you're looking for? Browse other questions tagged .