Skip to content

feat(helper): watchos simulator support#74

Merged
0xnirapod merged 5 commits into
mainfrom
feat/watchos-support
Jun 26, 2026
Merged

feat(helper): watchos simulator support#74
0xnirapod merged 5 commits into
mainfrom
feat/watchos-support

Conversation

@0xnirapod

Copy link
Copy Markdown
Member

Adds watchOS Simulator support, on top of the watchos slice (#73).

The fence now accepts any simulator slice and fails closed on a device platform, so the helper ships both the iOS and watchOS interposers. The helper arms each booted simulator with the slice that matches its platform, and a platform with no slice is skipped. The native example gains a watchOS target that shares the iOS Secure Enclave model. run-mechanism-d-watchos.sh runs the same in-sim signature proof on a booted watch simulator (it needs the watchOS Simulator runtime).

The helper now bundles one interposer per simulator platform (ios and watchos), so the fence
--helper gate can no longer assume a single ios slice. It iterates every interposer in the bundle
and requires each to carry only simulator platforms, allowing the known simulator platforms and
failing closed on any device platform or unreadable build. build-menubar-app.sh copies and signs
both slices; the self-test covers the watchos slice, both slices together, and device-platform
rejection (synthesized with vtool).
Skip a booted sim whose platform has no slice, not arm it with one its dyld rejects.
The watch target shares the iOS Secure Enclave model; only the UI differs.
Mirrors the iOS proof on the watch slice; needs the watchOS runtime to run.
tvOS and visionOS noted as the same mechanism, not built yet (no overclaim).
@0xnirapod
0xnirapod merged commit f94bf40 into main Jun 26, 2026
4 checks passed
@0xnirapod
0xnirapod deleted the feat/watchos-support branch June 26, 2026 16:44
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