如何为Xcode 6+添加插件 [英] How to Add plugin for Xcode 6+
问题描述
为Xcode 6添加插件
Adding plugin for Xcode 6
打开您的终端,然后键入不带引号的内容. "cd/Applications/Xcode.app/Contents/PlugIns"
Open your terminal and type this without quotes. "cd /Applications/Xcode.app/Contents/PlugIns"
或
与终端输入相同,不带引号. 打开/Applications/Xcode.app/Contents/PlugIns"
same in terminal type this without quotes. "open /Applications/Xcode.app/Contents/PlugIns"
在此处复制/添加/拖放插件. 注意:这将要求对管理员密码进行身份验证.验证,很安全.大声笑
Copy/Add/Drag&Drop your plugins there. Note: This will require an authentication for administrator password. Authenticate, it is safe. lol
用于删除插件:
只需做同样的事情,转至上述路径,然后逆转此过程即可.移至垃圾箱".
just do the same, go to the said path and reverse the process.... "Move to Trash".
推荐答案
对此表示感谢.
我要添加一个补充操作,使该插件在Xcode 6.1.1上对我有用:
I'm adding a complementary action that made the plugin work for me on Xcode 6.1.1 :
- 右键单击插件文件> 显示软件包内容
- 找到并编辑 Info.plist 文件.
- 在 DVTPlugInCompatibilityUUIDs 中添加密钥C4A681B0-4A26-480E-93EC-1218098B9AA0
- Right click on plugin file > Show Package Contents
- Find and edit the Info.plist file.
- In DVTPlugInCompatibilityUUIDs add the key C4A681B0-4A26-480E-93EC-1218098B9AA0
保存您的Info.plist文件.
Save your Info.plist file.
然后启动Xcode并使用您的插件
Then launch Xcode and use your plugins
这篇关于如何为Xcode 6+添加插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!