iOS 模拟器安装应用程序失败 [英] iOS Simulator failed to install the application
本文介绍了iOS 模拟器安装应用程序失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个 Cordova 2.1.0 应用程序,前 2-3 次运行良好.但是现在当我尝试通过终端运行它时,它给了我以下错误.我没有改变任何东西.
I have created a Cordova 2.1.0 app, It ran fine for the first 2-3 times. But now when I am trying to run it through terminal it is giving me the following error.I didn't change anything.
Ankurs-Mac-mini:~ ankur$ /Users/ankur/Desktop/CordovaSMS/cordova/emulate
Ankurs-Mac-mini:~ ankur$ 2012-10-17 16:11:08.695 ios-sim[7032:507] stderrPath:
/Users/ankur/Desktop/CordovaSMS/cordova/console.log
2012-10-17 16:11:08.698 ios-sim[7032:507] stdoutPath:
/Users/ankur/Desktop/CordovaSMS/cordova/console.log
[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain
Code=1 "iOS Simulator failed to install the application." UserInfo=0x7fc643902320
{NSLocalizedDescription=iOS Simulator failed to install the application.,
DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
任何帮助将不胜感激.谢谢
any help would be appreciated. Thanks
推荐答案
解决了问题
删除~/Library/Application Support/iPhone Simulator
的内容并重新运行项目解决了这个问题.或者您可以简单地重置模拟器的内容和设置.
Deleting contents of ~/Library/Application Support/iPhone Simulator
and re-run the project solved this problem.
or you can simply reset content and setting of the simulator.
这篇关于iOS 模拟器安装应用程序失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文