Hello,
I have the ios-sim --version 3.1.1 and xcode-select version 2339.
But when i’ll try to run this command:
sudo ionic emulate ios
This error appear:
2015-02-19 17:04:37.139 ios-sim[18365:6861869] stderrPath: /Users/hermes/www/todo/platforms/ios/cordova/console.log
2015-02-19 17:04:37.139 ios-sim[18365:6861869] stdoutPath: /Users/hermes/www/todo/platforms/ios/cordova/console.log
Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 “Simulator session timed out.” UserInfo=0x7fee00e13e30 {NSLocalizedDescription=Simulator session timed out.}
Error: /Users/hermes/www/todo/platforms/ios/cordova/run: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
How can i emulate my “todo helloworld” for iOS?
Guys,
Can be a problem with iOS8?
It sounds like you might not have a simulator setup, do you have Xcode fully setup? If so, build the project for ios and then open the file in Xcode to run it. That can give you additional insight if this is related to Cordova or Xcode setup.
ionic build ios
Then open platforms/ios/myapp.xcodeproj
in Xcode.
Thank you. Work’s! Any problem if show this message?
2015-02-21 13:36:36.093 ios-sim[2788:176645] stderrPath: /Users/hermes/www/todo/platforms/ios/cordova/console.log
2015-02-21 13:36:36.094 ios-sim[2788:176645] stdoutPath: /Users/hermes/www/todo/platforms/ios/cordova/console.log
That is just to tell you where the output of the error logs will go, but it is not an error itself. You can ignore that, even though it can appear red in the console.
Thank you very much gnomeontherun !
Do you can help me with this also?
Yes, i have problem too. I want to emulate android, and i have all things installed. When i was checking all thing i see this: $ ant -v Apache Ant(TM) version 1.9.4 compiled on April 29 2014 Trying the default build file: build.xml Buildfile:...