feat(helper): watchos simulator support#74
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).