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

Run on iOS Device fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.15.1
    • iOS Support
    • None
    • QtC 4.15.1, Qt 5.15.5, macOS Catalina (10.15.7), Xcode 12.4
      installed: Android, Desktop (macOS), iOS, iOS Simulator
    • iOS/tvOS/watchOS
    • 4767dfcce32ca69d88861f5ab8a18b0a1110b0b4 (qt-creator/qt-creator/4.15)

    Description

      I'm getting errors if trying to run on iOS Device

      sometimes:

      Error parsing JSON at 1:1: illegal value/Applications/daten/...5.15/ios/mkspecs/features/qtprf
      Failed to parse qmlimportscanner output.
      

      and sometime:

      Project Error: Could not resolve SDK Path for 'iphoneos' using --show-sdk-path Error while parsing file /Applications/...my.pro. Giving up.
      

      I can build the project successfully and run from XCode.

      From QtC I also can run on iOS Simulator.

      While playing around I found a reproducable scenario:

      If I quit QtC while iOS (Device) is current platform and restart QtC, then it fails.

      If I switch to iOS Simulator, then quit QtC, reopen QtC and then switch from iOS Simulator to iOS (Device) all works as expected.

      Is reproducable for me - so as a workaround I'm always switching to iOS Simulator before quit QtC or switch to another project.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-25970
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            ekkescorner Ekkehard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes