Install multiple ipa/app in iOS device using command line

This post explains my quest to achieve a solution for iOS devices, similar to batch install in android. Remember my requirement is to smell and taste the coffee rather than installing 18 apps ( multiply that for every dev release + each test device ) sitting in my desk 😉

I used,

  • libimobiledevice for command line deploy
  • And the below script to uninstall and install the apps found in a folder.
#!/bin/bash
for package in `ideviceinstaller -l | grep -i <your-package> | awk '{print $1}'`
do
echo "Uninstalling $package"
ideviceinstaller -U $package >> log
done
for ipa in `ls *ipa`
do
echo "Installing $ipa"
ideviceinstaller -i $ipa >> log
done

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: