苹果要求加入UUID证书从而保证插件的稳定性。因此Xcode版本更新之后需要在VVDocumenter-Xcode的Info.plist文件中添加Xcode的UUID。
一、首先要获得Xcode的UUID,在终端里执行 defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID 得到的便是Xcode的UUID
二、添加Xcode的UUID到VVDocumenter-Xcode的Info.plist文件
此时可能还发现问题,重启时不会有提示!!!
后来在github的官方网页上看到下面的一段:
All plugins will be disabled once you update your Xcode, since the supported UUIDs in the plugins do not contain the one. You should try to clean your plugins folder (~/Library/Application Support/Developer/Shared/Xcode/Plug-ins by default) and clone/build the latest version from master branch. If you happened to skip the bundle loading, you can use this to reset the prompt:
defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-{your_xcode_version}
我的Xcode版本号是7.3.1,于是在终端上输入defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.3.1 再次重启Xcode终于看到那个Load bundle 还是Skip bundle的界面