Following the following steps to run xcode 4.6 and xcode 5 side by side
1. copy existing xcode 4.6 to a different folder, for example /Applications/Xcode46/Xcode.app
2. install xcode 5 at the default location: /Applications/Xcode.app
3 when switching between xcode 4.6 and xcode 5, also need to switch command line tool to the corresponding version:
To xcode 5:
sudo xcode-select --switch /Applications/Xcode.app
To xcode 4.6
sudo xcode-select --switch /Applications/Xcode46/Xcode.app
To verify the command line
xcode-select --print-path
1. copy existing xcode 4.6 to a different folder, for example /Applications/Xcode46/Xcode.app
2. install xcode 5 at the default location: /Applications/Xcode.app
3 when switching between xcode 4.6 and xcode 5, also need to switch command line tool to the corresponding version:
To xcode 5:
sudo xcode-select --switch /Applications/Xcode.app
To xcode 4.6
sudo xcode-select --switch /Applications/Xcode46/Xcode.app
To verify the command line
xcode-select --print-path
No comments:
Post a Comment