Created
October 31, 2014 15:34
-
-
Save miromasat/993b754bdeb6fd6d67cd to your computer and use it in GitHub Desktop.
This was an only solution for debugging Ionic apps for me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Manually emulate ionic/cordova application | |
# Miroslav Masat 2014 | |
echo "Emulating..." | |
cd ./platforms/ios/build/emulator | |
var=$(pwd) | |
ios-sim launch "$var"/*.app |
ionic/cordova emulate ios gets nothing on the simulator, but this tips works !
thank you ......
Thanks, this worked like a charm :)
Thank you very much indeed .! That works for me as well.
Worked, Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same error as @Chener.
Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Simulator session timed out." UserInfo=0x7ff8c8c75ab0 {NSLocalizedDescription=Simulator session timed out.}
iOS sim version 8.1 (550.3)
Update: I was able to solve my problem. It was a permission error. I'd created an ionic project using sudo and cause an issue with the files that the simulator was trying to execute (check last response at http://forum.ionicframework.com/t/simulator-session-timed-out-when-ran-ionic-emulate-ios/11437/4). Hope it helps