Installing an .ipa on iOS device from the command line in OSX or linux
Sometimes as a software engineer when working and developing mobile apps you may want to quickly verify that your work application works correctly before deployment on a real device. Unfortunately Apple makes the whole process hard to do so.
But there exist a command line tool available part of the amazing libimobiledevice project. And the best part is that this tool is also available on linux.
To install it simply use the appropriate package:
# For OSX
brew install libimobiledevice
brew install ideviceinstaller
# For Ubuntu
sudo apt-get install libimobiledevice
sudo apt-get install ideviceinstaller
Then plugin your device and run the following to get your app installed:
ideviceinstaller -i <Path_to_your_ipa>