A workaround that Vvdocumenter-xcode cannot use after upgrading Xcode

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.