要擴大user3761183的答案,有點googling後,我跑:
sudo plutil -convert xml1 /Applications/Xcode.app/Contents/Developer/Platforms/*.platform/Info.plist
這擺脫了所有的Unable to load platform at path /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform
錯誤。我仍然得到有關錯誤:
無法加載「/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/Core構建System.xcspec」 。原因:錯誤域= NSCocoaErrorDomain代碼= 3840「意外的字符b在第1行」UserInfo = {NSDebugDescription =第1行意外的字符b,kCFPropertyListOldStyleParsingError =錯誤域= NSCocoaErrorDomain代碼= 3840「意外';'或'='後在第1行鍵「UserInfo = {NSDebugDescription = Unexpected';'或'='後在第1行鍵}}。
但我原來也是這樣,所以如果你不是那麼上面的命令應該可以解決你的問題。
編輯:刪除了關於Install addtional required components
沒有做任何事的評論。接下來的猜測就是Jonathan F所建議的重新安裝XCode。
FWIW我已經試過sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
,那也沒做什麼。
來源
2017-04-12 00:15:51
jim
與SVN相同。你是否使用opendiff的包裝(如fmdiff)? – surlac
@surlac - 不,只是普通的香草opendiff。 – eykanal
這裏跟hg一樣。 – speciousfool