Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstalling app from iOS Device thru command line

I'm running test on an app using UIAutomation, but I need a way to uninstall the app in a device (iPhone, iPad, iPod) without using jailbreak.

Currently I´m using fruitstrap to upload the app to a cable connected device using the device UID.

Is there a way thru a command line (yes it MUST be command line) to delete the app from the device?

like image 386
Mano Tester Avatar asked Apr 08 '13 18:04

Mano Tester


2 Answers

Use ideviceinstaller

To install app: ideviceinstaller -i testApp.ipa

To uninstall app: If you don't know bundle id, first get bundle id ideviceinstaller -l then

ideviceinstaller -U com.testPackage.testApp

like image 194
user2661518 Avatar answered Oct 17 '22 08:10

user2661518


New Kid on the block - ios-deploy

MobileDevice was a good tool, however not being actively developed. ios-deploy works great.

Here is the command -

ios-deploy --id <device_id> --uninstall_only --bundle_id com.app.testapp

(ios-deploy is forked from fruitstrap only)

like image 42
Darpan Avatar answered Oct 17 '22 07:10

Darpan