Troubleshoot issues that plug-ins cannot use after upgrading Xcode

Source: Internet
Author: User

Starting with Xcode 5, Apple requires a UUID certificate to ensure the stability of the plugin. Therefore, after the Xcode version update, you need to add the current Xcode uuid to the plugin's Info.plist file.

The steps are as follows:

1. Get the UUID of Xcode

Execute at Terminal

Defaults Read/applications/xcode.app/contents/info Dvtplugincompatibilityuuid

  

Or find 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.

2. Add Xcode's UUID to the plugin's info.plist

Taking Vvdocumenter as an example

If the plugin is already installed

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.

  

Plug-in is not yet installed or 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.

3. Restart Xcode

Restart Xcode will prompt "load bundle", "Skip bundle", here must choose "Load Bundle", or plug-in can not be used.

  

Troubleshoot issues that plug-ins 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.