Unable to load platform at path

filemerge, mercurial, xcode

Solution

I have the same FileMerge warning in Git. When I look inside Xcode's preferences, I can see that neither the iPhoneSimulator nor the iPhoneOS platforms are installed but the directories do exist when I look into "/Applications/Xcode.app/Contents/Developer/Platforms".

I don't develop for iOS, so I deleted both iPhoneOS.platform and iPhoneSimulator.platform and the warning went away.

If you do need those platforms, try to reinstall them properly from Xcode.

Problem

When using `filemerge` to solve `HG` conflict, I got the following error ``` FileMerge[18002:707] Unable to load platform at path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform ```

Original source