Question

Dave Keck's Fixins stopped working on Xcode. I've already tried rebuilding with no avail. Anybody found a workaround? (I'm mostly longing for CurrentLineHighlighter and DisableAnimations.)

Related question on another plugin: XcodeColors not working in XCode 5

Was it helpful?

Solution

UPDATE: I've written a longer answer on how to automate upgrading these plugins, Xcode 8 included.


You can get some* plugins to work with Xcode 5 by adding a DVTPlugInCompatibilityUUIDs array into each plugin's Info.plist. Then add a UUID string to this array.

<key>DVTPlugInCompatibilityUUIDs</key>
<array>
    <string>37B30044-3B14-46BA-ABAA-F01000C27B63</string>
</array>

To get the UUID, execute defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID in console.

* E.g. DisableAnimations and HideDistractions work, while CurrentLineHighlighter invariably crashes Xcode.

OTHER TIPS

EDIT: Starting with Xcode 8, the plugins system doesn't work anymore, more information. This answer won't work for Xcode 8 and later.


Original answer:

Xcode's plugins stopped working after each update. In order to fix them all quickly, you can use the following command line in your terminal. That will update each plugin and make them compatible with the new update.

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 DVTPlugInCompatibilityUUID`

Note: You have to restart Xcode in order to have your plugins work again

Note 2: You will have to run this command for each Xcode update

You can find simple solution here

You should use another plugins folder

 /Applications/Xcode.app/Contents/PlugIns
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top