本文介绍了iOS模拟器无法安装应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个Cordova 2.1.0应用程序,它运行良好的前2-3次。但现在当我试图通过终端运行它给我以下错误。我没有改变任何东西。
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]无法启动会话:错误域= DTiPhoneSimulatorErrorDomain
代码= 1iOS模拟器无法安装应用程序。 UserInfo = 0x7fc643902320
{NSLocalizedDescription = iOS模拟器无法安装应用程序
DTiPhoneSimulatorUnderlyingErrorCodeKey = -1}
任何帮助将不胜感激。
感谢
解决方案
解决问题
删除〜/ Library / Application Support / iPhone Simulator
的内容并重新运行项目解决了这个问题。
或者你可以简单地复位模拟器的内容和设置。 b $ b
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
解决方案
Solved the problem
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模拟器无法安装应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!