Xcode 编辑时的爆炸效果

                                                                  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-ins
curl

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”(包管理器),在这里能够搜索到你想要的插件。