Uninstall App from Simulator
simctl-uninstallUninstall iOS apps from a simulator by bundle ID to remove app data, preferences, and the app bundle, enabling clean testing and space management.
Instructions
simctl-uninstall
Uninstall iOS apps from simulators.
Overview
Removes an installed app from a simulator by its bundle ID. This cleans up all app data, preferences, and the app bundle itself from the simulator. Useful for clean testing, data removal, space management, and workflow automation.
Parameters
Required
udid (string): Simulator UDID (from simctl-list)
bundleId (string): App bundle ID (e.g., com.example.MyApp)
Returns
Uninstall status with bundle ID, simulator info (name, state, availability), success indicator, command output, and guidance for reinstallation or app management.
Examples
Uninstall app from simulator
await simctlUninstallTool({
udid: 'ABC-123-DEF',
bundleId: 'com.example.MyApp'
});Clean install workflow
// Uninstall old version
await simctlUninstallTool({
udid: 'TEST-DEVICE',
bundleId: 'com.example.MyApp'
});
// Then reinstall
await simctlInstallTool({
udid: 'TEST-DEVICE',
appPath: '/path/to/MyApp.app'
});Related Tools
simctl-install: Reinstall app after uninstall
simctl-list: Find simulator UDID
simctl-get-app-container: Check app container before uninstall
Notes
Bundle ID must follow format: com.company.appname
Removes app and all associated data/preferences
Validates simulator exists before attempting uninstall
Useful for clean testing workflows
Frees simulator disk space by removing unused apps
Test cycles requiring clean app installs benefit from uninstall automation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | ||
| bundleId | Yes |