Unit tests pass but ios-sim exits with an error code of 1 #41

echamberlain opened this Issue Mar 21, 2013 · 3 comments


None yet

3 participants



We are getting an intermittent issue where our unit tests pass, but ios-sim returns an error code of 1. Has anyone encountered this issue before?


I'm seeing this too. When I use the --verbose flag I can see that even when ios-sim returns 0 I get "Session did end with error (null)" in the log.

When ios-sim returns 1 I get the more complete version: "Session did end with error Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The simulated application quit." UserInfo=0x7fc0d945cb80 {NSLocalizedDescription=The simulated application quit., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}"

So on my system, right now, the simulator session is always ending with an error, it's just that sometimes the error is null so ios-sim treats it as success.

PhoneGap member

see #42, #43

@shazron shazron added the bug label Jul 29, 2014
@shazron shazron added this to the ios-sim 3.2.0 milestone May 15, 2015
PhoneGap member

Try with v4.x

@shazron shazron modified the milestone: 3.2.0, 4.2.0 Jul 16, 2015
@shazron shazron modified the milestone: 5.0.3, 5.1.0 Oct 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment