Unable to load platform at path

后端 未结 5 484
余生分开走
余生分开走 2021-02-01 13:31

When using filemerge to solve HG conflict, I got the following error

FileMerge[18002:707] Unable to load platform at p         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-01 13:38

    And I tried converting iPhoneSimulator.platform/Info.plist from binary to xml, confirmed that Filemerge doesn't produce the error anymore. Then I converted it back to binary, and still, Filemerge is fine.

    $ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    $ sudo plutil -convert xml1 Info.plist
    $ sudo plutil -convert binary1 Info.plist
    

    Disclaimer: inspired by @user3761183!

提交回复
热议问题