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. Deploy on iPhone via command line
Forum Updated to NodeBB v4.3 + New Features

Deploy on iPhone via command line

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 2.7k 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.
  • R Offline
    R Offline
    robert2014
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      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
      • R Offline
        R Offline
        robert2014
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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 ?

          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
          • R Offline
            R Offline
            robert2014
            wrote on last edited by
            #5

            I have to automate the process using shell- and batch-skripts in a continuous integration system.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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

              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

              • Login

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