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!