Xcode插件之Alcatraz的安装和遇到的问题

之前在Xcode5.1上面安装过Alcatraz插件,今天按照之前的步骤在Xcode6.3安装,步骤如下:

1.在终端中输入如下命令行:

mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins;

curl -L http://git.io/lOQWeA | tar xvz -C ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins

然后会输出类似这种:

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0   393    0     0    129      0 --:--:--  0:00:03 --:--:--   324
  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
 30 85370   30 25849    0     0    820      0  0:01:44  0:00:31  0:01:13  4942x Alcatraz.xcplugin/
x Alcatraz.xcplugin/Contents/
x Alcatraz.xcplugin/Contents/Info.plist
x Alcatraz.xcplugin/Contents/MacOS/
x Alcatraz.xcplugin/Contents/Resources/
x Alcatraz.xcplugin/Contents/Resources/en.lproj/
x Alcatraz.xcplugin/Contents/Resources/eye_icon.tiff
x Alcatraz.xcplugin/Contents/Resources/link_icon.tiff
x Alcatraz.xcplugin/Contents/Resources/PluginWindow.nib
x Alcatraz.xcplugin/Contents/Resources/toolbar_colors.tiff
x Alcatraz.xcplugin/Contents/Resources/toolbar_plugins.tiff
x Alcatraz.xcplugin/Contents/Resources/toolbar_templates.tiff
x Alcatraz.xcplugin/Contents/Resources/en.lproj/InfoPlist.strings
x Alcatraz.xcplugin/Contents/Resources/en.lproj/Localizable.strings
100 85370  100 85370    0     0   2675      0  0:00:31  0:00:31 --:--:-- 20990

2.看到这里就意味已经成功安装了Alcatraz,然后重启Xcode,在Xcode的顶部菜单中Window下找Package Manager,然后就可以下载各种想要的插件了

**但是在Xcode6.3的Window下并没有找到Package Manager,然后我就在网上搜索了一下原因和解决方法 
原因我就不再这里赘述了详情点击 
解决方法: 
1.Find the plugin in ~Library/Application Support/Developer/Shared/Xcode/Plugins 
2. Open the contents of the pluginOpen the Info.plist in Xcode 
3. Expand the DVTPlugInCompatibilityUUIDs array 
4. Create a new entry and paste in 9F75337B-21B4-4ADC-B558-F9CADF7073A7 
其实就是: 
1. 进入到插件目录 ~/Library/Application Support/Developer/Shared/Xcode/Plugins 
2. 显示插件的包内容, 编辑Info.plist文件 
3. 展开DVTPlugInCompatibilityUUIDs 
4. 添加一个新的item:9F75337B-21B4-4ADC-B558-F9CADF7073A7 
注:UUID要针对不同的Xcode版本进行设置,这里仅针对Xcode6.3**

posted @ 2015-11-08 21:39  激情为梦想而生  阅读(185)  评论(0编辑  收藏  举报