Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Push IPA to Device via Command Line (after xcodebuild)?

Is it possible to push an IPA to a device via the command line?

The IPA was built from the command line using xcodebuild and signed with a developer certificate. The device is not jail broken and was provisioned for development. In the case of a Bundle being delivered, I fix it up per Ad-Hoc and App Store IPAs with xcrun.

I am aware of fruitstrap. I don't want strip the App Bundle from the IPA (fruitstrap requirement), and I don't want the 'debug hook' provided by fruitstrap.

The question is similar to Install application in iphone device through command line, but I need Apple tools.

So far, I've only found manual methods using iTunes. (And as @fanneyward offered - mobile safari).

like image 876
jww Avatar asked Jan 13 '13 13:01

jww


2 Answers

Look at his answer:

how to intall an ipa/app file into iPhone with command line?

the 3rd solution with libimobiledevice.

like image 68
malaba Avatar answered Nov 15 '22 22:11

malaba


If you would consider using Test Flight App for distributing builds to devices (it's not clear from your question whether it's just for yourself or for beta testers), Ray Wenderlich has a great post on Automated Testing that shows you how to automatically make Jenkins push builds to Test Flight. It's not exactly what you ask for, but definitely an okay alternative.

like image 43
Kasper Munck Avatar answered Nov 15 '22 23:11

Kasper Munck