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

Unable to build for iOS with Qt version 5.9.6 and XCode 10.0

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS

    Description

      With XCode 10.0 and Qt 5.9.6 my project file (pro) file is failed to be parsed by Qmake. Here is the error details:
       

      Project ERROR: This mkspec requires Xcode 4.3 or later
      09:54:56: The process "/Users/abehera/Qt/5.9.6/ios/bin/qmake" exited with code 3.
      Error while building/deploying project IOSTest (kit: Qt 5.9.6 (ios))
      When executing step "qmake"
       

      If I comment out XCode version Check in default_pre.prf, then I my pro file is parsed but build fails. I also added a message to print XCode version and a test function in my .pro file. Attached are the screenshots and the test project.

      Note: Qt 5.11.2 works fine with XCode 10.0. However, I need to use Qt 5.9.6 for my project to support minimum iOS version iOS 8.

      Attachments

        1. TestFunctionMessage.png
          TestFunctionMessage.png
          293 kB
        2. QmakeFails.png
          QmakeFails.png
          244 kB
        3. IOSTest.zip
          3 kB

        Issue Links

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

          Activity

            People

              vikas Vikas Pachdha
              adaitabehera adaita kumar behera
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes