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.
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 Xcode
Mode 1
Perform defaults read/applications/xcode.app/contents/info dvtplugincompatibilityuuid in terminal
Copies the selected string.
Mode 2
Locate Xcode.app in the/applications directory, right-click "Show Package Contents", go to Contents folder , Double-click Info.plist to open, locate Dvtplugincompatibilityuuid, and copy the following string.
Second, add Xcode uuid to Vvdocumenter-xcode's Info.plist file
The way the plug has been installed to complete
1. 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/reinstalled
1, 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 Xcode
After 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