Before the MacBook Pro out of the question, and brought a pro, the new system of course re-adjusting supervised development tools, and then there will be new problems arise, Connaught! Come on ~
Before you moved Xcode to your desktop, then configured Oh-my-zsh, and then opened the terminal, you were prompted with the following error:
xcrun:error:active Developer Path ("/users/xjw/desktop/xcode.app/contents/developer") does not exist, use ' Xcode-select--switch Path/to/xcode.app ' to specify the Xcode this you wish to use for command line developer tools (or SE E ' man xcode-select ')what a lovely question; Ah, I don't know what it means; Baidu after the internet has said a command to fix, and tried:sudo xcode-select-switch/applications/xcode.app/contents/developerand then it's OK.I do not know what is the problem, what is wrong, guess the reason: 1, Xcode placed under the desktop, 2, the configuration of Zsh;3, moved Xcode to the application file, then there is a problem, ~ ~ ~ So guess is ... or waiting for the understanding of the great God to help Guide twos! I thanked you first.
Problems and solutions in moving Xcode