[ https://issues.apache.org/jira/browse/CB-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-5621. ------------------------------- Resolution: Fixed Latest version of ios-sim is much improved. > cordova emulate ios (ios-sim timeout) > -------------------------------------- > > Key: CB-5621 > URL: https://issues.apache.org/jira/browse/CB-5621 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS > Affects Versions: 3.2.0 > Reporter: Carlos Santana > > Make sure iOS Simulator is not running > cordova emulate ios > It happens some times, not 100% reproducible which sucks more :-( > Some times ios simulator takes more time that usual to start. > Some times it needs to switch images, (i.e. from ios 6.1 to ios 7.1) > The simulator will start, but the app will not install, some times it > installs but it doesn't start. > I think the ios-sim timeout is too low. on version 1.8.2 is 30 seconds > I think we should increase the timeout in the cordova scripts to 120 seconds > just in case. > Here is the out I get sometimes: > Warning: [Error: An error occurred while emulating/deploying the ios project. > 2013-12-06 09:53:37.906 xcodebuild[31012:4007] DeveloperPortal: Using > pre-existing current store at URL > (file:///Users/csantana23/Library/Developer/Xcode/DeveloperPortal%205.0.2.db). > 2013-12-06 09:53:38.520 xcodebuild[31022:4107] DeveloperPortal: Using > pre-existing current store at URL > (file:///Users/csantana23/Library/Developer/Xcode/DeveloperPortal%205.0.2.db). > 2013-12-06 09:53:39.165 xcodebuild[31032:5a03] DeveloperPortal: Using > pre-existing current store at URL > (file:///Users/csantana23/Library/Developer/Xcode/DeveloperPortal%205.0.2.db). > 2013-12-06 09:53:45.445 ios-sim[31366:507] stderrPath: > /Users/csantana23/Desktop/demo9/cordova/app/platforms/ios/cordova/console.log > 2013-12-06 09:53:45.447 ios-sim[31366:507] stdoutPath: > /Users/csantana23/Desktop/demo9/cordova/app/platforms/ios/cordova/console.log > Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain > Code=2 "Simulator session timed out." UserInfo=0x7fa4fd00b400 > {NSLocalizedDescription=Simulator session timed out.} > I'm the only one hitting this? > -- This message was sent by Atlassian JIRA (v6.2#6252)