Deploy on iPhone via command line
-
Hello,
I need to build Qt applications for iOS and deploy them on an iPhone via the terminal.
I have Mac OS X Mavericks running on an iMac and iOS 7.1 on the iPhone connected to it.Building and deploying works when I use QtCreator. The applications run on the iPhone.
I got the following commands from the compiler output of QtCreator to build the application via the terminal:
@
qmake -r -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.ReleaseDevice
@So building via the terminal works fine, but I can't find the command to deploy the application and run it on the iPhone. It doesn't seem to be in QtCreator's output.
Does anybody know which command to use to deploy and run a Qt application on the iPhone?
Greetings,
Robert -
Hi and welcome to devnet,
AFAIK, there is no command provided by Apple for that. However you might want to have a look at "this":http://www.stewgleadow.com/blog/2011/11/05/installing-ios-apps-on-the-device-from-the-command-line/
Hope it helps
-
Thank you, I'm glad to be here.
I heard of fruitstrap, but wasn't sure about it and wanted to know if there's an easier way first.
Thanks for the hint, I will try it. -
Well, the easy way is to either use Xcode or Qt Creator.
Just out of curiosity, why do you want to deploy using the command line ?
-
I have to automate the process using shell- and batch-skripts in a continuous integration system.
-
What you can do is take a look at the iOS plugin of Qt Creator, you might find what you need there to build a little helper tool for your CIS