Skip to content

build(visionos): support visionOS device builds - #1177

Merged
Kyle-Ye merged 4 commits into
mainfrom
feature/visionos_device
Oct 17, 2026
Merged

Kyle-Ye merged 4 commits into
mainfrom
feature/visionos_device

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Updates Compute to 0.6.0-bugfix.2, whose binary includes visionOS and visionOS Simulator slices, and uses the Compute backend in the visionOS setup of the Example README.
  • Links CoreSVG, SFSymbols, and FeatureFlags on visionOS with the DarwinPrivateFrameworks visionOS slices. Gestures stays excluded, because visionOS has no Gestures framework.
  • Applies the UIKit header overlay to visionOS device builds in the Example project.
  • Updates DarwinPrivateFrameworks to the revision with visionOS device slices and an overlay for the visionOS device SDK. The default overlay path moves to ~/Library/Developer/OpenSwiftUI/XR.
  • Updates the README, INTEGRATION.md, and Example README for visionOS device support.

Closes #1176. Part of #1171.

Dependency

Use the Compute 0.6.0-bugfix.2 binary and source release. Its XCFramework adds visionOS and visionOS Simulator slices.
DarwinPrivateFrameworks now provides visionOS slices for CoreSVG, SFSymbols, and FeatureFlags. Enable their product dependencies and defines on visionOS, matching SwiftUICore on visionOS 2.5, which links all three. Gestures stays limited to iOS and macOS because visionOS 2.5 does not include it.
…rlay

Bump DarwinPrivateFrameworks to 8a434a2. Its UIKit header overlay now
covers the visionOS device SDK and uses the
~/Library/Developer/OpenSwiftUI/XR output directory.

Apply the overlay to xros builds in the Example project and update the
docs that limited visionOS support to the Simulator.
@Kyle-Ye Kyle-Ye added type: build Build system, packaging, toolchain, release, or compiler support. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. platform: visionOS visionOS-specific behavior or support. labels Oct 17, 2026
@github-actions github-actions Bot added the area: example Example apps, previews, sample projects, screenshots, or demo assets. label Oct 17, 2026
@tuist

tuist Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
Unknown ⏳ 7 eeb4307cf
OpenSwiftUI ✅ 7 eeb4307cf

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 1m 5s eeb4307cf

@codecov

codecov Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 29.42%. Comparing base (4916d29) to head (59b2335).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1177      +/-   ##
==========================================
- Coverage   29.42%   29.42%   -0.01%     
==========================================
  Files         943      943              
  Lines       74697    74697              
==========================================
- Hits        21982    21978       -4     
- Misses      52715    52719       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 8fd5bc3 into main Oct 17, 2026
6 of 7 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/visionos_device branch October 17, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: example Example apps, previews, sample projects, screenshots, or demo assets. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. platform: visionOS visionOS-specific behavior or support. type: build Build system, packaging, toolchain, release, or compiler support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add visionOS device build support

1 participant