How to delete an App from command line

1. List all simulators

Find out all simulators

xcrun simctl list

Find out active simulator

xcrun simctl list | grep Booted

You will get the result like:

$ xcrun simctl list |grep Booted
iPhone 11 (AE8852AB-378E-47FB-BD23-4CF77BFBC6DC) (Booted)

Now you can erase the simulator by

xcrun simctl erase AE8852AB-378E-47FB-BD23-4CF77BFBC6DC

2. Delete the app from active simulator

xcrun simctl uninstall booted


xcrun simctl uninstall AE8852AB-378E-47FB-BD23-4CF77BFBC6DC


About Tang

A mobile developer, work in Stockholm, Sweden
This entry was posted in iOS and tagged . Bookmark the permalink.

Leave a Reply

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

You are commenting using your 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 )

Connecting to %s