Install App (IDB)
idb-installDeploy .app bundles or .ipa archives to iOS devices or simulators, with auto-detection of target and troubleshooting guidance.
Instructions
idb-install
Install application to iOS target - deploy .app bundles or .ipa archives for testing.
Overview
Transfers and registers application bundles (.app) or archives (.ipa) to iOS targets. Validates app path format before transfer, handles installation process (transfer, registration, signature validation), extracts bundle ID from output for launching, and provides detailed error guidance for common failures (code signing, architecture mismatch, already installed).
Parameters
Required
appPath (string): Absolute path to .app bundle or .ipa archive
Optional
udid (string): Target identifier - auto-detects if omitted
Returns
Installation status with success indicator, app path, extracted bundle ID (if available), installation output, and context-specific troubleshooting guidance (code signing issues, architecture mismatches, already installed, file not found).
Examples
Install simulator build
const result = await idbInstallTool({
appPath: '/path/to/DerivedData/Build/Products/Debug-iphonesimulator/MyApp.app'
});Install signed IPA to physical device
await idbInstallTool({
appPath: '/path/to/MyApp.ipa',
udid: 'DEVICE-UDID-123'
});Related Tools
idb-list-apps: Find bundle ID after installation
idb-launch: Launch installed app by bundle ID
idb-uninstall: Remove app for clean reinstall
Notes
Supports .app bundles (from Xcode build) and .ipa archives (signed/unsigned)
Installation can take 10-60 seconds depending on app size
Simulators accept unsigned .app bundles
Physical devices require valid provisioning profile
Auto-terminates running apps before installation
Extracts bundle ID from output when available
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | ||
| appPath | Yes |