You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Omar Mefire (JIRA)" <ji...@apache.org> on 2016/03/21 23:07:25 UTC

[jira] [Comment Edited] (CB-10898) 'Invalid Device State' when starting iOS simulator

    [ https://issues.apache.org/jira/browse/CB-10898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205254#comment-15205254 ] 

Omar Mefire edited comment on CB-10898 at 3/21/16 10:07 PM:
------------------------------------------------------------

POST-MORTEM:
===============

This issue is caused by the issue described here: https://issues.apache.org/jira/browse/CB-10912

.. And it was caused by this commit in simctl (a dependency used by ios-sim. ios-sim is a package cordova-ios depends on): 
https://github.com/phonegap/simctl/commit/704b0f8ca0bb03bf4e87ddeca214bb8f7d5affe6

The issue was resolved by these commits in cordova-ios: 
- https://github.com/apache/cordova-ios/commit/bc8a215c501c852348b0b1b1491e5734aab87d35
- https://github.com/apache/cordova-ios/commit/048e5ce0d3ef0a570bfe592707308f875b8cc62b



was (Author: omefire):

This issue is caused by the issue described here: https://issues.apache.org/jira/browse/CB-10912

.. And it was caused by this commit in simctl (a dependency used by ios-sim. ios-sim is a package cordova-ios depends on): 
https://github.com/phonegap/simctl/commit/704b0f8ca0bb03bf4e87ddeca214bb8f7d5affe6

The issue was resolved by these commits in cordova-ios: 
- https://github.com/apache/cordova-ios/commit/bc8a215c501c852348b0b1b1491e5734aab87d35
- https://github.com/apache/cordova-ios/commit/048e5ce0d3ef0a570bfe592707308f875b8cc62b


> 'Invalid Device State' when starting iOS simulator
> --------------------------------------------------
>
>                 Key: CB-10898
>                 URL: https://issues.apache.org/jira/browse/CB-10898
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Omar Mefire
>            Assignee: Omar Mefire
>            Priority: Critical
>              Labels: cordova-ios, found-by-ci
>
> When trying to run the mobilespec app on the iOS simulator, an error: 'Invalid Device State' is encountered.
> Log: https://ci.apache.org/builders/cordova-ios/builds/2076/steps/running-tests/logs/stdio
> ======
> Results at '/Users/buildbot/slaves/apache/cordova-ios/mobilespec/platforms/ios/build/device/mobilespec.ipa' 
> [....] Waiting up to 1 seconds for iOS device to be connected
> No target specified for emulator. Deploying to iPhone-6s-Plus, 9.1 simulator
> An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):
> Invalid device state
> logPath: /Users/buildbot/slaves/apache/cordova-ios/mobilespec/platforms/ios/cordova/console.log
> [MEDIC LOG Thu, 17 Mar 2016 06:06:24 GMT] Finished waiting for run command
> [MEDIC LOG Thu, 17 Mar 2016 06:06:24 GMT] started waiting for test results
> [MEDIC LOG Thu, 17 Mar 2016 06:30:25 GMT] Finished polling for mobilespec results.
> [MEDIC LOG Thu, 17 Mar 2016 06:30:25 GMT]     Results Found:   false
> [MEDIC LOG Thu, 17 Mar 2016 06:30:25 GMT]     Total attempts:  144
> [MEDIC LOG Thu, 17 Mar 2016 06:30:25 GMT]     Failed attempts: 0
> [MEDIC LOG Thu, 17 Mar 2016 06:30:25 GMT] FATAL: Could not find test results. Check the output of medic-log to see if the app crashed before it could upload them to couchdb.
> program finished with exit code 1
> elapsedTime=1491.694117



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org