richardbuckle/AdvancedJenkins

Timeout error?

Closed this issue · 3 comments

Hi,

First off, thanks so much for putting this together. I think I'm really close to getting this to run. However, I'm having one last issue. Both the instance of Jenkins and the Terminal on the machine Jenkins is installed on are throwing this error:

[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Simulator session timed out." UserInfo=0x7fd323c2a4a0 {NSLocalizedDescription=Simulator session timed out.}

I've found that I can fix this for the Jenkins instance by moving my launch plist from Library/LaunchDaemons to Library/LaunchAgents, however since running the same command from Terminal is throwing the same error, I think there is some other underlying problem.

This is the command I'm running to launch it:

No matching processes were found
xcodebuild -scheme HungryFanTests -sdk iphonesimulator -configuration Debug clean build TEST_AFTER_BUILD=YES WANT_IOS_SIM=YES ONLY_ACTIVE_ARCH=NO VALID_ARCHS=i386 ARCHS=i386

On a possibly unrelated note, my own machine fails to launch the tests as well, throwing a similar but different error.

No matching processes were found
[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "Unknown error." UserInfo=0x7ffaabc03020 {NSLocalizedDescription=Unknown error., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}

Did you encounter this issue in creating this post?

Hi Matt,

First of all, thanks for the kind words.

The first step would be to ensure that my example on GitHub runs on your Jenkins installation. Can you confirm that?

I have not seen the errors that you described. At first sight, it seems that your installation of ios-sim might not be in the right place.

What does which ios-sim report?

Richard.

I'll try again in the morning, but my ios-sim is in the right place, I get back /usr/local/bin/ as the path for it. The simulator launches, just to a black screen.

Sent from my iPhone

On May 23, 2013, at 5:45 PM, Richard Buckle notifications@github.com wrote:

Hi Matt,

First of all, thanks for the kind words.

The first step would be to ensure that my example on GitHub runs on your Jenkins installation. Can you confirm that?

I have not seen the errors that you described. At first sight, it seems that your installation of ios-sim might not be in the right place.

What does which ios-sim report?

Richard.


Reply to this email directly or view it on GitHub.

I switched to xctools, which works like a charm. Thanks for your help.