Xcode plug-ins are a great tool for developers to spend more time and energy on their code. However, one of the problems developers encounter is that every time Xcode is updated, all the plug-ins that have been installed in the past will not work and need to be re-installed. Sometimes, even if the plug-ins are installed, they will not work. Here, I’ll share with you how I solved these problems. Of course, my plan is built on the basis of the previous perfect.

Here, I’ll look at some of the reasons why plug-in installations fail:

  • More than one Xcode development tool is installed on the system
  • The developer is not correctly putting their ownDVTPlugInCompatibilityUUIDAdd to the plug-in
  • The plug-in was successfully installed, but when Xcode recognized the plug-in, the developer chose itSkip BundleThese plug-ins cause

Below, I’ll take a detailed look at how I installed the plug-in and how to make it work. The process of downloading plug-ins and compiling plug-ins is no longer a chore, so I’ll get straight to the point. Take ColorSense as an example.

First of all, we need to clear our plugin which version is to be installed to the Xcode, then the corresponding DVTPlugInCompatibilityUUID of Xcode

Now I want to install this plugin on my Xcode 6.4, so I need to get the Xcode 6.4 DVTPlugInCompatibilityUUID

  1. Right-click Xcode and select Show package contents

  2. Then locate the info.plist file under Contents/ info.plist

  3. Double click the Info file, find DVTPlugInCompatibilityUUID, will be a corresponding 7 fdf5c7a abb – 131 – f – 4-9 edc – 8 c5f8f0b8a90 replication

  4. Next, go to the directory where the ColorSense plugin is located

  5. Right-click the plug-in and select Show package contents. Then locate the info.plist file under Contents/ info.plist

  6. . Double click the Info file, will just copied seven fdf5c7a abb – 131 – f – 4-9 edc – 8 c5f8f0b8a90 increased to DVTPlugInCompatibilityUUID fields. save

  7. Re-open Xcode 6.4 and a pop-up window will prompt the user to load the plug-in. This is where many users fail to use the plug-in because they chose Skip Bundle.


The correct way to do this is to select the Load Bundle option


Excited to be able to use this plug-in in Xcode now! (^ __ ^) hee hee…

Is that the end of it? Definitely not. I think you already know the process by going through the above steps. So next, a more efficient way to do it.

Terminal instruction implementation

/ / get DVTPlugInCompatibilityUUID fields

defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID



/ / replace XXXX DVTPlugInCompatibilityUUID ChengGangGang acquired

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add XXXX

Copy the code

Execute these two instructions, you can realize the tedious process above. Is it more convenient?

If you have any questions, please leave a message and I will help you in any way I can.

Thank you again for taking the time to read this article!

Weibo: @danny_ Lu Changhui blog: SuperDanny

July 09, 2015