Skip to content

Drive Mac apps through Accessibility, inside a macOS virtual machine - #344

Merged
lana-20 merged 1 commit into
mainfrom
desktop-macos
Nov 28, 2026
Merged

lana-20 merged 1 commit into
mainfrom
desktop-macos

Conversation

@lana-20

@lana-20 lana-20 commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Measured in a macOS 26.6.2 Tart guest on an M4 Pro host (macOS 26.7.3),
on MobiumDesk (docs/checks/desktop-app.swift): desktop.sh passed 20 runs
in 22, the last 8 in 8. Both failures were a launch that answered no
accessibility (CHALLENGES 417).

Before the driver, the Accessibility API was probed from a Swift helper
and from Go through purego with cgo off. Trees were identical, about
145 ms warm. An XCTest-based server read in 93-179 ms, but clicked in
687 ms, relaunched the app per session, and needs Xcode on the machine
under test.

The host Mac was refused before any call: devices lists it as refused,
and map --device macos exits 8.

go.mod moves to 1.25 for purego v0.11.3. go/parser.ParseDir is
deprecated there, so apisurface parses a directory itself.

Measured in a macOS 26.6.2 Tart guest on an M4 Pro host (macOS 26.7.3),
on MobiumDesk (docs/checks/desktop-app.swift): desktop.sh passed 20 runs
in 22, the last 8 in 8. Both failures were a launch that answered no
accessibility (CHALLENGES 417).

Before the driver, the Accessibility API was probed from a Swift helper
and from Go through purego with cgo off. Trees were identical, about
145 ms warm. An XCTest-based server read in 93-179 ms, but clicked in
687 ms, relaunched the app per session, and needs Xcode on the machine
under test.

The host Mac was refused before any call: devices lists it as refused,
and map --device macos exits 8.

go.mod moves to 1.25 for purego v0.11.3. go/parser.ParseDir is
deprecated there, so apisurface parses a directory itself.
@lana-20
lana-20 merged commit 8f9b873 into main Nov 28, 2026
10 checks passed
@lana-20
lana-20 deleted the desktop-macos branch November 28, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant