Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error in building of Qt-generated iOS project in Xcode
Forum Updated to NodeBB v4.3 + New Features

Error in building of Qt-generated iOS project in Xcode

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    ma3api
    wrote on 23 Jun 2014, 05:27 last edited by
    #1

    I have generated iOS project (a Hello World project for device) using Qt. I can build and run it on device from Qt but when I open it in Xcode and click run, it tries to build for a few seconds, but then says "Cancelled" and gives no error. Nothing but says: "Build: Cancelled". Why do I get this kind of error? Where should I check?

    Some say that "Cancelled" error is related with 3rd party tools like "agvtool". When they remove it, they successfully build and run. I tried this, when I remove "Qt" from targets, I can run the app. But this only works for Hello World project in which I havent used any of Qt-dependent classes/functions. Because I am planning to use them, I guess I need that Qt target.

    Is there any solution to run in Xcode? What may cause this error?

    PS:

    When I check build logs, I see that each time I build, the output changes. (I run the app even if build stops again and again, each time it may give different log. Also, sometimes it runs with success.)

    Here is the link for the build logs:

    https://drive.google.com/folderview?id=0B_sqVuPjN726RXAxRkQxNnFoX0E&usp=sharing

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 23 Jun 2014, 08:31 last edited by
      #2

      Hi and welcome to devnet,

      You should add which version of OS X/Xcode/Qt you are currently using

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        ma3api
        wrote on 23 Jun 2014, 08:51 last edited by
        #3

        I try different versions.

        Simply, OS X 10.8 and 10.9, Xcode 5 and 5.1, Qt 5.2 and 5.3

        In detail,

        On OS X 10.8.4 (mac mini), I used Xcode 5.0.2 and 5.1.1 with Qt 5.2.1 and 5.3
        On OS X 10.9.2 (iMac), I used Xcode 5.0.2 and Qt 5.2.1
        On OS X 10.8.5 (WMware), I used Xcode 5.0.2 and 5.1.1 with Qt 5.2.1 and 5.3

        1 Reply Last reply
        0
        • M Offline
          M Offline
          ma3api
          wrote on 23 Jun 2014, 10:56 last edited by
          #4

          I have changed the date of macs, 2014 to 2013. Now I change them back. It somehow worked. Interesting.

          1 Reply Last reply
          0

          1/4

          23 Jun 2014, 05:27

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved