omz / ColorSense-for-Xcode

Plugin for Xcode to make working with colors more visual

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need XCode 5.1 support

giver opened this issue · comments

After upgrade to XCode 5.1 (5B130a). The plugin does not work anymore. I try to reinstall at the same as install in XCode 5 but it does not success.

Xcode 5.1 has a new plugin compatibility UUID that needs to be added to the plugin's plist

$ defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
A2E4D43F-41F4-4FB9-BB94-7177011C9AED

For ColorSense you need to add this to the DVTPlugInCompatibilityUUIDs key in the plugin's info plist at:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin/Contents/Info.plist

After restarting Xcode, the plugin seems to function normally.

It works like a charm.

Info.plist

<key>DVTPlugInCompatibilityUUIDs</key>
<array>
    <string>640F884E-CE55-4B40-87C0-8869546CAB7A</string>
    <string>63FC1C47-140D-42B0-BB4D-A10B2D225574</string>
    <string>37B30044-3B14-46BA-ABAA-F01000C27B63</string>
    <string>A2E4D43F-41F4-4FB9-BB94-7177011C9AED</string>  <! -- XCode 5.1 -->
</array>

great, it works, thanks