Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10898

'Invalid Device State' when starting iOS simulator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              omefire Omar Mefire
              omefire Omar Mefire
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: