Xcode upgrade leads to plug-in failure Solutions _ios

Source: Internet
Author: User

Recently upgraded Xcode8 encountered some problems, here to tidy up, hope that the reader less detours, as soon as possible to solve the problem.

Xcode8 can not use the plugin, this article void ...

Xcode various plug-ins greatly improve the development efficiency, such as my common fuzzyautocomplete (add fuzzy matching to improve the Xcode code automatic completion function, developers do not have to follow the principle of the beginning to match, as long as you remember the method in a keyword can be matched), Vvdocument, ksimagenamed, Peckham (you can add a #import statement in any location), Xalign (code alignment), but upgrade Xcode cause Plug-ins to fail this question must have bothered iOS novices, The solution is actually very simple.

Principle

The installation directory for the Xcode plugin is

~/library/application Support/developer/shared/xcode/plug-ins

Enter this directory Select one of the Plug-ins, right-click-> Display package content


Then open the contents directory->info.plist

From the image above you can see the dvtplugincompatibilityuuids array, which contains the Dvtplugincompatibilityuuid list of Xcode that the plugin is compatible with. Each version of the Xcode dvtplugincompatibilityuuid is different, and after Xcode update, the plugin does not automatically update the array, causing the plugin to fail, So we add the latest version of Xcode dvtplugincompatibilityuuid to this array.

Steps

1. Open terminal, get Dvtplugincompatibilityuuid

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

As shown in the figure, the terminal will output the acquired Dvtplugincompatibilityuuid


2. Add this UUID to the info.plist of each plugin

Find ~/library/application\ support/developer/shared/xcode/plug-ins-name info.plist-maxdepth 3 | xargs-i{} defaults write {} Dvtplugincompatibilityuuids-array-add aca8656b-fea8-4b6d-8e4a-93f4c95c362c

Increase Uuid.png

3. Reboot Xcode, eject warning Select load Bundles


Warning. png

After these three steps, the plugin can be reused again.

Thank you for reading, I hope to help you, thank you for your support for this site!

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.