Can Xcode 6 and Xcode 5 coexist on the same computer?

前端 未结 9 776
感情败类
感情败类 2020-11-29 18:09

I currently have and use Xcode 5, and while I\'d like to experiment with Xcode 6, I don\'t want to use it for production. Can I have both of them installed on the same compu

相关标签:
9条回答
  • 2020-11-29 18:16

    They can both coexist without any problems. You can set version that command line tools use with:

    sudo xcode-select -s /Applications/Xcode6-Beta.app
    

    Xcode 6 works on 10.9 too.

    0 讨论(0)
  • 2020-11-29 18:19

    I have them installed side by side right now and I have not encountered any problems with this arrangement. While I obviously haven't had Xcode 6 for very long, I have done the same thing with several previous Xcode beta releases as well and I have no reason to believe this release would be different.

    EDIT: You can use xcode-select to switch between the different versions of the command line tools. From the man page:

    When multiple Xcode applications are installed on a system (e.g. /Applications/Xcode.app, containing the latest Xcode, and /Applications/Xcode-DP.app containing a developer preview) use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools.

    0 讨论(0)
  • 2020-11-29 18:21

    yes you can have two separate version on same mac

    1. Xcode 6 on the Mac App Store will replace the existing Xcode installation. Only the Xcode betas install separately (by default)

    2. Only downloading Xcode from https://developer.apple.com/downloads/ and doing the install manually (by copying Xcode from the DMG to /Applications) will prompt you to replace or keep both.

    Select the keep both option when prompt.

    0 讨论(0)
  • 2020-11-29 18:27

    As said before - XCode 5 and 6 can coexist together. Just want to add that you can switch between the different versions of the command line tools using the GUI also: open XCode -> Preferences -> Locations.

    0 讨论(0)
  • 2020-11-29 18:31

    Yes, you can have two Xcode on system but it is advised to keep latest one. While installing Xcode 6 there will be prompt 'Xcode already exists. Replace/Keep it ?'

    Go with create a new copy of Xcode. This will install Xcode 6 on your system. The newly installed Xcode will be renamed as 'Xcode 6'. I'm using Xcode 5.1 and Xcode 6 on my system and there seems to be no issue.

    Screenshot for issue

    0 讨论(0)
  • 2020-11-29 18:34

    The answer is YES

    Where to download Xcode 6 beta

    1. Go to https://developer.apple.com/xcode/downloads/
    2. Select View on the iOS Dev Center
    3. Sign in with your Apple Developer ID
    4. In the top left, select iOS 8 Beta
    5. Scroll down and search for Xcode 6 beta

    The requirement for Xcode 6 is OS X Mavericks 10.9.3

    It will install into /Applications folder with the name Xcode6-Beta, so it won't hurt your current Xcode

    0 讨论(0)
提交回复
热议问题