Referenced from: http://www.bubuko.com/infodetail-922634.html
Vvdocumenter-xcode is a plug-in that quickly adds standard annotations to Xcode and can automatically generate documents. With Vvdocumenter-xcode, standardized annotations, only need to input three slash "//" can be done, very practical, is currently supported by Swift. Github:https://github.com/onevcat/vvdocumenter-xcode
objective-c:
Swift:
starting with Xcode 5, Apple requires a UUID certificate to ensure the stability of the plugin. Therefore, after the Xcode version is updated, you need to add Xcode's uuid to the Vvdocumenter-xcode info.plist file.
The steps are as follows:first, see the UUID of XcodeMode 1 perform defaults read/applications/xcode.app/contents/info dvtplugincompatibilityuuid in terminal copies the selected string.
Mode 2Locate Xcode.app in the/applications directory, right-click "Show Package Contents", go to Contents folder, double-click Info.plist Open, Find Dvtplugincompatibilityuuid, copy the following string.
Second, add Xcode uuid to Vvdocumenter-xcode's Info.plist fileThe way the plug has been installed to complete1. Open the directory where the Xcode plugin is located: ~/library/application support/developer/shared/xcode/plug-ins; 2, select the installed plug-in such as Vvdocumenter-xcode, right-click "Show Package Content";3. Locate the Info.plist file, find the Dvtplugincompatibilityuuids item, add a Item,value value for the previous Xcode uuid, save.
mode 2--plug-in is not yet installed/reinstalled1, from GitHub clone warehouse to local, open project in Xcode, select project name , select Vvdocumenter-xcode under Tagets; 2, select Info, find the Dvtplugincompatibilityuuids project, add a Item,value value for the previous Xcode uuid;3, build project, Vvdocumenter-xcode will be installed automatically.
Third, restart Xcodeafter Xcode 6, restart Xcode will prompt "load bundle", "Skip bundle", here must choose "Load Bundle", or plug-in can not be used.
A workaround that Vvdocumenter-xcode cannot use after upgrading Xcode