Skip to content

app_uninstall

Removes an installed application from a simulator device using its bundle identifier. This completely deletes the app binary and all associated data containers (documents, caches, preferences) from the simulator.

ParameterTypeRequiredDefaultDescription
deviceIdstringYesThe UDID of the target simulator device.
bundleIdstringYesThe bundle identifier of the app to uninstall (e.g., com.example.myapp).

“Remove the WeatherApp from my simulator.”

{
"deviceId": "F3A1B2C3-D4E5-6789-ABCD-EF0123456789",
"bundleId": "com.example.weatherapp"
}

“Uninstall the staging build of our shopping app from the test device.”

{
"deviceId": "A1B2C3D4-E5F6-7890-ABCD-1234567890EF",
"bundleId": "com.example.shopapp.staging"
}
App uninstalled successfully.
Device: F3A1B2C3-D4E5-6789-ABCD-EF0123456789
Bundle ID: com.example.weatherapp
  • app_install — Install an app onto the simulator.
  • app_terminate — Terminate the app before uninstalling if it is running.
  • app_list — List installed apps to find the correct bundle ID.
  • simulator_erase — Erase the entire simulator to remove all apps and data at once.