Josh Polk
Josh Polk

Reputation: 265

Install an IPA through USB?

After using the "iPhone Configuration Utility" program to install IPA applications to my iPhone on the go, I wondered how this process worked. Within a few Google searches, I found out about "MobileDevice.framework" and the "MobileDevice Library" connected to it. After reading an article of all the Known Functions in the library, I found one called "AMDeviceInstallApplication". I thought this would work once I saw install, but I'm currently perplexed on how to use it.

TL;DR I have IPA files and I want to make an Xcode program (for Mac) that installs the IPA's application to a connected iOS device when a button is pressed.

Also, don't worry about the application not being signed correctly. It is signed with a provisioning profile installed on devices [the application] will be used with.

Upvotes: 3

Views: 3676

Answers (2)

Shailendra Madda
Shailendra Madda

Reputation: 21561

I found a simple way to install iPa file to real iPhone or iPad:

Connect iPhone to Mac via USB and follow the below steps:

Steps to follow:

  1. Open Xcode
  2. Click on Window
  3. Select Devices and Simulators
  4. Drag and drop the IPA files into it
  5. App got installed on the iPad

Upvotes: 1

Ben Clayton
Ben Clayton

Reputation: 82257

If you're still interested in this problem I've written a blog entry on how to install apps on a connected iPad / iPhone without using Xcode or iTunes.

This method allows you to run a Terminal command to install an iPA file.

http://pervasivecode.blogspot.co.uk/2012/06/install-ios-app-ipa-file-without-xcode.html

I suppose you could bundle up the terminal commands in your application and use it that way?

Upvotes: 3

Related Questions