Install multiple ipa/app in iOS device using command line

January 31, 2015

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