Error in building of Qt-generated iOS project in Xcode
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?
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:
Hi and welcome to devnet,
You should add which version of OS X/Xcode/Qt you are currently using
I try different versions.
Simply, OS X 10.8 and 10.9, Xcode 5 and 5.1, Qt 5.2 and 5.3
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
I have changed the date of macs, 2014 to 2013. Now I change them back. It somehow worked. Interesting.