Plugins do not work on xcode 6

Yes, we have a new version of xcode - xcode 6, and all the old plugins do not work.

I know that for each version of Xcode there is a new DVTPlugInCompatibilityUUID , and this problem will be fixed by the authors of the plugins.

But DVTPlugInCompatibilityUUID is just text, how can we find it? How can we fix it without waiting for someone?

Update

xcode 6.3.2: DVTPlugInCompatibilityUUIDs = E969541F-E6F9-4D25-8158-72DC3545A6C6

Xcode 6.4 (6E35b): DVTPlugInCompatibilityUUIDs = 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90

Xcode 7.0.b2 (7A121I): DVTPlugInCompatibilityUUIDs = AABB7188-E14E-4433-AD3B-5CD791EAD9A3

+6
source share
6 answers

Make sure your hidden folders are displayed on your MAC address, Hold Option Key and click the Go button in the search menu.

Go to the next location -

Library / Application Support / Developer / Shared / Xcode / Plug -ins

Right-click on the plug-in and select to display package contents

Open the info.plist file and find DVTPlugInCompatibilityUUID and expand this section.

Press the + button and insert C4A681B0-4A26-480E-93EC-1218098B9AA0.

Save the file and restart Xcode.

No need to repeat for all plugins that are already installed in Xcode 6.

+12
source

I have Xcode 6.1.1, this is what I did and it worked.

  • Right-click the plugin file> Show Package Contents
  • Find and edit the Info.plist file.
  • In the DVTPlugInCompatibilityUUIDs add the key C4A681B0-4A26-480E-93EC-1218098B9AA0 (thanks to the amavi message)

Save the Info.plist file.

Then go to the /Applications/Xcode.app/Contents/PlugIns folder and copy the plugin file there (you need an administrator password).

Now you can start Xcode and use your plugins; -)

+1
source

Run the command below in the terminal. It will automatically add an Xcode compatible UUID to all plugins:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID` 
+1
source

From https://gist.github.com/neonichu/9487584 use the following to get the DVTPlugInCompatibilityUUID of your version of Xcode

 /usr/libexec/PlistBuddy -c 'Print DVTPlugInCompatibilityUUID' "$(xcode-select -p)/../Info.plist" 

For Xcode 6.2, add A16FF353-8441-459E-A50C-B071F53F51B7 to DVTPlugInCompatibilityUUIDs

0
source

xcode 6.3.2 was E969541F-E6F9-4D25-8158-72DC3545A6C6

I just check the plugins from /Applications/Xcode.app/Contents/PlugIns (any plugin and use what they use for DVTPlugInCompatibilityUUID) and it works.

Adding additional information:

The path is an xCode application, and inside it go to the Contents / PlugIns folder and you will see a bunch of plugins for xCode. Open any plugin and go to the "Content" section and open Info.plist, which will have the DVTPlugInCompatibilityUUID property. I really compared a couple of them and they seem to have the same value, so I copied this and used it, which worked perfectly.

0
source
  • Xcode 6.4 (6E35b): DVTPlugInCompatibilityUUIDs = 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90
  • Xcode 7.0.b2 (7A121I): DVTPlugInCompatibilityUUIDs = AABB7188-E14E-4433-AD3B-5CD791EAD9A3
0
source

Source: https://habr.com/ru/post/975340/


All Articles