2

How can I install Alcatraz over XCode 6.3 beta?

If I run curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh it works just for my non beta XCode.

ospr
  • 1,650
  • 2
  • 17
  • 21
Daniel Gomez Rico
  • 15,026
  • 20
  • 92
  • 162

2 Answers2

6

@saiday has combined the below steps into a single terminal command:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`

The above script performs steps 2 and 3 for you.

  1. Make sure Alcatraz is installed and working in release XCode

  2. Determine the UUID of your beta version by running the following in your Terminal:

    defaults read /Applications/Xcode-Beta.app/Contents/Info DVTPlugInCompatibilityUUID
    
  3. Run the following in your Terminal:

    defaults write ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin/Contents/Info.plist -array-add DVTPlugInCompatibilityUUIDs [REPLACE WITHUUID FROM STEP TWO]
    

This adds the UUID for the current beta to the list of acceptable platforms for Alcatraz. Your UUID should look something like this: 992275C1-432A-4CF7-B659-D84ED6D42D3F

Sidetalker
  • 698
  • 4
  • 14
  • 1
    This kind of works (plugins work inside Xcode) but Package manager is missing in Window menu. – sabiland Apr 09 '15 at 09:16
  • The UUID in my current comment is now outdated. I've updated my answer with more thorough steps. – Sidetalker Apr 09 '15 at 17:29
  • 2
    combine these two commands will be one snippet ```find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID` ``` – saiday May 19 '15 at 06:48
3

I made a script that makes this automatic for any version of Xcode.
Switch to the new version of Xcode, by indicating the path to its Developer folder.

- sudo xcode-select --switch /Applications/Xcode-NEW.app/Contents/Developer

Download the script from GitHub, run it, then restart Xcode.

Riad Krim
  • 944
  • 1
  • 10
  • 23