How to uninstall old Xcode beta safely

后端 未结 6 1999
攒了一身酷
攒了一身酷 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: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.

提交回复
热议问题