How to uninstall old Xcode beta safely

后端 未结 6 1905
攒了一身酷
攒了一身酷 2021-02-07 05:28

I want to uninstall Xcode 5 beta 5 before installing beta 6 (I know it\'s under NDA, but as long as I don\'t mention anything about the software itself, I think we\'re good). Wh

相关标签:
6条回答
  • 2021-02-07 05:51

    The above answer is correct for older versions of Xcode that install in the /Developer/ folder, but newer versions of Xcode Beta can be uninstalled by simply dragging the /Applications/Xcode-beta.app application into the Trash.

    0 讨论(0)
  • 2021-02-07 05:53

    The answer is correct but just for older versions of Xcode. With newer versions:

    1. Just trash the /Applications/Xcode-beta.app application

    and, if you're replacing it with a new stable version (new Xcode.app), remember to:

    1. run sudo xcode-select --switch /Applications/Xcode.app to specify the new app that you wish to use for command line developer tools.

    If "the app can’t be moved to the Trash because some of its extensions are in use", just restart the Mac before trying again.

    0 讨论(0)
  • 2021-02-07 05:54

    Go into your developer folder and in the About Xcode.pdf it will have instructions

    /Developer/Developer/About\ Xcode.pdf
    

    It is near the end of the pdf but you can search for uninstall and it will give you some options

    You will most likely want

    sudo <Xcode>/Library/uninstall-devtools --mode=all
    

    But I recommend you read the uninstall section so you can see the options available.

    0 讨论(0)
  • 2021-02-07 05:54

    Xcode-beta.app was in ~/Downloads for me, version 12.2 RC.

    0 讨论(0)
  • 2021-02-07 05:57

    Just close non-beta Xcode first.

    0 讨论(0)
  • 2021-02-07 06:03

    You can do the following to fix (remove xcode/xcode beta).

    The item xcode can’t be moved to the Trash because some of its extensions are in use.

    1. Control-click on Xcode
    2. Select show package contents
    3. Open folder
    4. Delete plugins folder
    5. Open finder window
    6. Navigate to folder containing Xcode app
    7. Move to trash
    0 讨论(0)
提交回复
热议问题