XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.86k stars 133 forks source link

Can not reset the XCODES_USERNAME #361

Closed hunguyenaxon closed 7 months ago

hunguyenaxon commented 7 months ago

My project run a TeamCity pipeline with EC2 instance. Although I can not a find a way to clean up the old credential when install new Xcode app version. So far I've tried:

  1. Logout with xcodes signout
  2. Override the XCODES_USERNAME variable: export XCODES_USERNAME=...
  3. Uninstall and re-install the tool: brew uninstall xcodesorg/made/xcodes && brew install xcodesorg/made/xcodes

But everytime I try to install the new Xcode app, it still shows up with previous appleID

% sudo xcodes install 15.3.0                                                     
Apple ID Password (abc@gmail.com): 

Can someone guild me how to clean up the associated AppleID? Really appreciate for your support!

hunguyenaxon commented 7 months ago

Figure out the root cause - need to run sudo xcodes signout