在XCode beta 6.3上安装Alcatraz

Dan*_*ico 2 beta xcode package alcatraz

如何在XCode 6.3 beta上安装恶魔岛?

如果我运行curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh 它只适用于我的非beta XCode.

Sid*_*ker 6

@saiday已将以下步骤合并为一个终端命令:

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`
Run Code Online (Sandbox Code Playgroud)

上面的脚本为您执行第2步和第3步.

  1. 确保Alcatraz已安装并在XCode版本中运行

  2. 通过在终端中运行以下内容来确定测试版的UUID:

    defaults read /Applications/Xcode-Beta.app/Contents/Info DVTPlugInCompatibilityUUID
    
    Run Code Online (Sandbox Code Playgroud)
  3. 在终端中运行以下命令:

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

这会将当前测试版的UUID添加到Alcatraz可接受的平台列表中.您的UUID应如下所示:992275C1-432A-4CF7-B659-D84ED6D42D3F

  • 结合这两个命令将是一个片段```find~/Library/Application\Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I {}默认写入{} DVTPlugInCompatibilityUUIDs -array-add`defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID```` (2认同)