Xcode 5 VVDocumenter-Xcode不能使用解决
2016-03-17 本文已影响25人
wpc
从Xcode 5开始,苹果要求加入UUID证书从而保证插件的稳定性。因此Xcode版本更新之后需要在VVDocumenter-Xcode的Info.plist文件中添加Xcode的UUID。
解决方法:
1.获得Xcode的UUID
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

2.git clone https://github.com/onevcat/VVDocumenter-Xcode.git
3.在Xcode中打开项目,选择项目名称,在TAGETS下选中VVDocumenter-Xcode;选择Info,找到DVTPlugInCompatibilityUUIDs的项目,添加一个Item,Value的值为之前Xcode的UUID;
4.Build项目,VVDocumenter-Xcode会自动安装。
5.重启Xcode,重启Xcode时会提示“Load bundle”、 “Skip Bundle”,这里必须选择“Load bundle”,不然插件无法使用。