Repository navigation
[Feature] [All] Add visionOS device and Simulator slices - #78
Merged
Merged
Conversation
…eatureFlags Generate the visionOS Simulator stubs with tapi stubify from the visionOS 2.5 Simulator runtime (22O473). Their exports match the iOS Simulator stubs. Add the slices to the xcframework templates and update scripts, generate the Swift interfaces for SFSymbols and FeatureFlags, and document the sources.
Pass --no-compact to tapi stubify in generate_tbd.sh, the framework READMEs, and the repository skills. The option writes the indented JSON layout that the committed tbd files use, so regenerated stubs no longer collapse onto one line.
Add xros-arm64-arm64e slices for AttributeGraph, RenderBox, CoreUI, BacklightServices, CoreSVG, SFSymbols, and FeatureFlags. Generate their stubs from the dyld shared cache of the visionOS 2.5 (22O473) Apple Vision Pro firmware with the new Scripts/generate_device_tbd.sh, which also adds the arm64 target next to the arm64e target of the cache. The visionOS device AttributeGraph exports the Swift API, so its device slice ships the Swift module like the simulator slices. Document how to download the firmware and extract the cache with ipsw.
Use iOS 18.5, macOS 15.5, and visionOS 2.5 for the examples of the 2024 release frameworks. These versions match the systems that the 2024 release stubs come from.
…amples Build the CoreSVG, SFSymbols, and FeatureFlags examples for visionOS now that these frameworks have visionOS slices. Update the Example README target table to the current target names and platforms.
Add visionOS and visionOS Simulator builds to the example workflows of the frameworks with visionOS slices. These rows run on runners with the visionos-simulator-2.5 label, which provides a visionOS Simulator runtime that matches the SDK.
This was referenced Oct 17, 2026
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.
Add visionOS support to the 2024 release frameworks, for both the visionOS Simulator and the device.
xros-arm64-x86_64-simulatorslices for CoreSVG, SFSymbols, and FeatureFlags, generated withtapi stubifyfrom the visionOS 2.5 Simulator runtime (22O473). Their exports match the iOS Simulator stubs. AttributeGraph, RenderBox, CoreUI, and BacklightServices already had this slice.xros-arm64-arm64eslices for AttributeGraph, RenderBox, CoreUI, BacklightServices, CoreSVG, SFSymbols, and FeatureFlags, generated from the dyld shared cache of the visionOS 2.5 (22O473) Apple Vision Pro firmware. The newScripts/generate_device_tbd.shextracts each framework withipsw, writes its stub withtapi stubify, and adds thearm64target next to thearm64etarget of the cache. The device exports match the visionOS Simulator stubs. Unlike on iOS, the visionOS device AttributeGraph exports the Swift API, so its device slice ships the Swift module like the simulator slices.--no-compacttotapi stubifyin the scripts, READMEs, and skills, so generated stubs use the indented layout of the committed files.ipsw.visionos-simulator-2.5label.Gestures is not included: neither the visionOS 2.5 Simulator runtime nor the device firmware contains it.
Verified with Xcode 26.6: the seven examples build for
generic/platform=visionOSandgeneric/platform=visionOS Simulator, and a probe that imports all seven modules links forarm64-apple-xrosandarm64e-apple-xros.