Skip to content

vmpal_device terminate reports app "isn't installed" on Remote iPhone while launch works #147

Open

Description

@gin419

Environment

  • VMPal MCP server (agent tools), Remote section: physical iPhone SE 3 connected by cable, iOS 18.7.8
  • Host: macOS (Darwin 27.2), Apple silicon
  • Date observed: 2026-11-20

Bug: vmpal_device terminate says an app "isn't installed" while launch of the same bundle id works

Steps:

  1. vmpal_start_vm on the Remote iPhone; wait until connected.
  2. vmpal_device action=launch, bundleId=<third-party App Store app> → "Launched." (app is on screen).
  3. vmpal_device action=terminate, same bundleId → error: <bundle id> isn't installed on the device.
  4. vmpal_device action=launch again → "Launched." and the app comes to the front.

Expected: terminate stops the running app, or reports the real reason it can't.
Actual: terminate claims the app is not installed.
Workaround: use launch only and navigate with taps.

Related observations (may be by design)

  • vmpal_collect_diagnostics with vm set to the phone's id answers "There's no VM …", so a Remote phone can't be targeted for diagnostics (collected without vm instead).
  • After vmpal_start_vm reports connected, vmpal_status / vmpal_tree stay "Connecting" for roughly 5 minutes; screenshots work before the tree does.
  • vmpal_act coordinates follow the maxWidth of the most recent vmpal_screenshot on the connection, which is easy to trip over when screenshot sizes vary.

A diagnostics zip is available privately on request (it contains local VM names and paths, so it isn't attached here).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions