首先断楷,微博搜索還是很有用的蹋砚,見此鏈接。
重點(diǎn)在于這個(gè)鏈接里面diogoguimaraes和ernestopino的答案:Not working on Xcode7 (7A220) · Issue #352 · supermarin/Alcatraz。
- Close Xcode
- If you have Alcatraz installed, uninstall it
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
- Perform as @ForrestAlfred posted before:
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
sudo xcode-select --reset
- Open Xcode
- Install Alcatraz
curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh
- Restart Xcode
Alcatraz插件消失的問題
不知道怎么回事盒使,有一次用Alcatraz安裝插件后艇劫,重啟Xcode能看到它新安裝的插件吼驶,但是在Windows菜單上看不到Package Manager的菜單了,奇怪的事情發(fā)生了:Alcatraz插件自身消失了店煞。
去下面的路徑看了一下:
cd ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins
發(fā)現(xiàn)沒有Alcatraz.xcplugin了蟹演,怎么會(huì)自動(dòng)消失呢?
不得已顷蟀,又重新安裝了一次Alcatraz插件酒请,因?yàn)橛昧藄s,直接用“curl -fsSL https://raw.github.com/alcatraz/Alcatraz/master/Scripts/install.sh | sh”命令不行衩椒,然后找了一下怎么使用代理蚌父,是這樣的形式:
curl --socks5 127.0.0.1:1080 -fsSL https://raw.github.com/alcatraz/Alcatraz/master/Scripts/install.sh | sh