Uninstall App (IDB)
idb-uninstallUninstall an iOS app by bundle ID, deleting its data and preferences for a clean reinstall. Automatically terminates the app if running and provides troubleshooting guidance for common failures.
Instructions
idb-uninstall
Uninstall application from iOS target - remove apps with complete data deletion for clean installs.
Overview
Removes installed applications by bundle ID with complete data and preferences deletion. Automatically terminates running apps before uninstall. Cannot remove system apps (user-installed only). Provides detailed error guidance for common failures (app not found, system app protection, uninstall errors).
Parameters
Required
bundleId (string): App bundle identifier to uninstall
Optional
udid (string): Target identifier - auto-detects if omitted
Returns
Uninstallation status with success indicator, bundle ID, command output, error details if failed, and troubleshooting guidance (app not found, system app protection, termination advice, alternative tools).
Examples
Uninstall app for clean reinstall
const result = await idbUninstallTool({
bundleId: 'com.example.MyApp'
});Uninstall from specific device
await idbUninstallTool({
bundleId: 'com.example.MyApp',
udid: 'DEVICE-UDID-123'
});Related Tools
idb-install: Reinstall app after uninstall
idb-terminate: Stop app before uninstall (auto-handled)
idb-list-apps: Verify app is removed after uninstall
Notes
Removes app from target system completely
Deletes all app data and preferences
Automatically terminates app if running
Only user-installed apps can be uninstalled (system apps protected)
Clean install testing workflow: uninstall -> install -> test
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | ||
| bundleId | Yes |