无法在路径上加载平台

无法在路径上加载平台

本文介绍了无法在路径上加载平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用filemerge解决HG冲突时,出现以下错误

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

推荐答案

我在Git中有相同的FileMerge警告.当我查看Xcode的首选项时,可以看到没有安装iPhoneSimulator和iPhoneOS平台,但是当我查看"/Applications/Xcode.app/Contents/Developer/Platforms"时,目录确实存在.

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".

我不是为iOS开发的,所以我删除了iPhoneOS.platform和iPhoneSimulator.platform,警告消失了.

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

如果您确实需要这些平台,请尝试从Xcode重新正确安装它们.

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

这篇关于无法在路径上加载平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 04:58