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

No sensible error is provided on iOS 11.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.5.0-rc1
    • iOS Support
    • None
    • Qt Creator 4.5.0-rc1, Qt 5.10.0 RC3, macOS 10.13.1, iPhone 6S running iOS 11.2

    Description

      The latest public Xcode, version 9.1, is not compatible with the latest public iOS, version 11.2. This is possible to fix by installing Xcode 9.2 beta, but the error handling in Qt Creator could be improved. When I open any example and try to run, I get:

      Starting remote process.
      TransferAppSession(54007e01e3bc0fd0da6d06cf880af461231466b7, /Users/jpnurmi/Qt/Examples/Qt-5.10.0/widgets/widgets/build-calendarwidget-Qt_5_10_0_for_iOS3-Debug/Debug-iphoneos/calendarwidget.app)Starting service "com.apple.debugserver" on device 54007e01e3bc0fd0da6d06cf880af461231466b7 failed, AMDeviceStartService returned The service is invalid. (0xe8000022)
      TransferAppSession(54007e01e3bc0fd0da6d06cf880af461231466b7, /Users/jpnurmi/Qt/Examples/Qt-5.10.0/widgets/widgets/build-calendarwidget-Qt_5_10_0_for_iOS3-Debug/Debug-iphoneos/calendarwidget.app)Bad file descriptor
      Run ended.
      

      If I open the .xcodeproject in Xcode and try to run, I get a lot nicer error message stating

      Could not locate device support files. This iPhone 6s is running iOS 11.2 (15C114), which may not be supported by this version of Xcode.

      If I go back to the Compile Output tab in Qt Creator and scroll up, I can indeed see:

      2017-12-04 14:55:33.137 xcodebuild[94494:1351532]  iPhoneConnect: ## Unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=601 "Could not locate device support files." UserInfo={DeviceType=iPhone8,1, NSLocalizedDescription=Could not locate device support files., NSLocalizedRecoverySuggestion=This iPhone 6s is running iOS 11.2 (15C114), which may not be supported by this version of Xcode.}) {
          DeviceType = "iPhone8,1";
          NSLocalizedDescription = "Could not locate device support files.";
          NSLocalizedRecoverySuggestion = "This iPhone 6s is running iOS 11.2 (15C114), which may not be supported by this version of Xcode.";
      }
      

      I wish Qt Creator would be able to present such error messages in a nice way, so that they are not hidden somewhere in build logs.

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              jpnurmi J-P Nurmi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes