Qt Creator stating iPhone not connected... but it is and xCode sees it.



  • I've been working on an Android and iPhone app for a while now, no real problems configuration-wise. Qt 5.4.1 and Qt 5.4.0 (iOS-esri), running on a Mac with OSX Yosemite.

    Out of the blue my iPhone is not acknowledged by Qt Creator when I plug in via USB. It's seen by xCode, indeed I can run a different project that's xCode based on the phone no problem. Under Qt Preferences->Devices it shows as "Ready to use" (green circle) when plugged in, and "Disconnected" (red circle) when unplugged. I've removed the kit and reinstalled it, no change. Hard reset the iPhone, cold restarts for all systems involved. Build works just fine, and the Android works as it always has.

    Does anyone have any ideas? Next step is to do a Qt reinstall from ground zero, something I'd prefer to avoid. I'm baffled because this just seems to come from nowhere....

    Thanks in advance for any words of wisdom!

    Chuck


  • Lifetime Qt Champion

    Hi,

    Shot in the dark, but did this happen after the iOS 8.3 update ?



  • @SGaist - No, had not done that yet... but in desperation I applied that last night... no impact.


  • Lifetime Qt Champion

    Which version of Xcode is it ?



  • In case you had more than one device connected to Xcode earlier then you current device may be not default for QtCreator. And it decides to make build to other device which is not connected to USB right now. (you can try to set it as default ios device in QtCreator settings when you see "Ready to use"). As well in QtCreator there is possibility to select your device from list. This list is available on the top of drop to the right configuration menu. When you select target for build. I had similar issue and when I selected my device from this list the LED switched to green and I was able to launch build for iOS device. I hope this can help you.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.