Dave Keck's Fixins
在Xcode上停止工作。我已經嘗試過無法重建。有人找到解決方法? (我多爲CurrentLineHighlighter
和DisableAnimations
嚮往。)上的另一個插件Xcode插件停止工作
相關問題:XcodeColors not working in XCode 5
Dave Keck's Fixins
在Xcode上停止工作。我已經嘗試過無法重建。有人找到解決方法? (我多爲CurrentLineHighlighter
和DisableAnimations
嚮往。)上的另一個插件Xcode插件停止工作
相關問題:XcodeColors not working in XCode 5
更新:我寫a longer answer on how to automate upgrading these plugins, Xcode 8 included。
你可以得到一些*插件通過添加DVTPlugInCompatibilityUUIDs
陣列到每個插件的Info.plist
和Xcode 5工作。然後添加一個UUID字符串到這個數組。
<key>DVTPlugInCompatibilityUUIDs</key>
<array>
<string>37B30044-3B14-46BA-ABAA-F01000C27B63</string>
</array>
要獲取UUID,請在控制檯中執行defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
。
*例如, DisableAnimations
和HideDistractions
工作,而CurrentLineHighlighter
總是崩潰Xcode。
編輯:在Xcode 8開始,插件系統不工作了,more information。這個答案不適用於Xcode 8及更高版本。
原來的答覆:
Xcode的插件停止每次更新後的工作。爲了快速修復它們,您可以在終端中使用以下命令行。這將更新每個插件並使其與新更新兼容。
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`
注:您必須重新啓動的Xcode纔能有你的插件重新工作
注2:你必須爲每個Xcode的更新
該解決方案比公認的解決方案略有優勢。將其粘貼到一個Automator應用程序中,現在它只是'⌘-Space' +'fix'來在每次更新後快速重置Xcode!輝煌。 – clozach
我的避風港」運行此命令因爲它使用Xcode 5.1(5B130a)中的新UUID在啓動時崩潰Xcode,所以無法使DisableAnimations正常工作。這是我使用的代碼: DVTPlugInCompatibilityUUIDs \t \t \t A2E4D43F-41F4-4FB9-BB94-7177011C9AED \t ' –
優秀。只有fyi - 這仍然與XCode 7.2一起工作。 – arcseldon