Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24253

iOS app doesn't start on iPhone in debug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.12.3
    • Debugger
    • None
    • iOS/tvOS/watchOS

    Description

      Faced with this issue after some updates(macOS, xcode, qt creator). Unfortunately, I cannot say exactly which of them was the reason.

      I guess that clue in the debugger log:

      >bridgemessage={msg="CONNECT: error: Failed to connect port remote-ios False"},
      >@
      >result={token="498",success="1",msg="success",exe="/Users/danilabagroff/Temp/QtCreator/XYZ/Debug/iOS/Debug-iphoneos/xyz.app/xyz"}@
      >498^
      >(lldb) script theDumper.runEngine({"token":499})
      >bridgemessage={msg="TARGET: xyz"},
      >bridgemessage={msg="PROCESS: No value"},
      >@
      >success="0",error={type="1",status="the platform is not currently connected",code="4294967295",desc="error: the platform is not currently connected"}@
      >@
      >state="enginerunfailed"@
      dNOTE: ENGINE RUN FAILED
       Run failed.
      dState changed from EngineRunRequested(4) to EngineRunFailed(5)
      dState changed from EngineRunFailed(5) to EngineShutdownRequested(15)
      dCALL: SHUTDOWN ENGINE
      dQUIT DEBUGGER REQUESTED IN STATE 15
      dLLDB PROCESS ERROR: 1
      dNOTE: ENGINE SHUTDOWN FINISHED
      dState changed from EngineShutdownRequested(15) to EngineShutdownFinished(16)
       Debugger finished.
      

      But I could not find out, what is actually "the platform is not currently connected" mean?!

      Application output contains of:

      TransferAppSession(7e64c287533a6384b540fcd8a9bd8c1fcba06598, /Users/danilabagroff/Temp/QtCreator/XYZ/Debug/iOS/Debug-iphoneos/xyz.app)connectByPort on device 7e64c287533a6384b540fcd8a9bd8c1fcba06598 port 30005 failed, AMDeviceStartService returned 61
      tryRemoteConnect *failed* on remote port 30005
      handleNewRelayConnection
      

      Full log is also attached.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hjk hjk
              danilabagroff Daniil Megrabyan
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes