Xcode 的爆炸效果git
1.打開終端輸入app
$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-inscurl
2.等待下載完成後,在輸入
url
$defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUIDspa
你會獲得一個ID,將這個ID記下插件
3.退出終端,右擊Finder點擊「前往文件夾」輸入code
~/Library/Application Support/Developer/Shared/Xcode/Plug-insit
你將會看到幾個文件,右擊後點擊「顯示包內容」,打開「Contents」下的「Info.plist」,找到「DVTPlugInCompatibilityUUIDs」這個key所對應的位置,打開它添加一個新的io
「String」,在後面把第二步獲得的ID輸入搜索
4.打開Xcode(若是Xcode在開啓狀態,將他退出從新打開),打開時會彈出窗口,選擇左邊的按鈕「installandrun」,打開任意一個工程(Xcode經常使用工程欄也許是空得,你能夠從別的地方打開一個工程,也能夠新建立一個工程),XCode菜單欄裏的會有一個「plugins」(插件)這個按鈕能夠選擇聲音和振動,Xcode菜單欄裏的Windows裏會多一個「package manager」(包管理器),在這裏能夠搜索到你想要的插件。