Skip to content

fix(preview): add native visionOS Preview support - #1179

Merged
Kyle-Ye merged 2 commits into
mainfrom
feature/visionos_preview
Oct 18, 2026
Merged

Kyle-Ye merged 2 commits into
mainfrom
feature/visionos_preview

refactor: use canImport(Darwin) for Apple platform guards

f346114
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 18, 2026 in 0s

29.37% (+0.00%) compared to 4221d0b

View this Pull Request on Codecov

29.37% (+0.00%) compared to 4221d0b

Details

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.37%. Comparing base (4221d0b) to head (f346114).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
Sources/OpenSwiftUIMacros/PreviewMacro.swift 0.00% 17 Missing ⚠️
Sources/OpenSwiftUI/Integration/PreviewShims.swift 0.00% 5 Missing ⚠️
...penSwiftUI/Integration/LegacyPreviewProvider.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1179   +/-   ##
=======================================
  Coverage   29.36%   29.37%           
=======================================
  Files         946      946           
  Lines       74842    74841    -1     
=======================================
+ Hits        21981    21984    +3     
+ Misses      52861    52857    -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.