Skip to content

Add visionOS Simulator build and CI support #1156

Closed

Description

@Kyle-Ye

Summary

Building OpenSwiftUI for the visionOS Simulator requires a custom local SDK. Build it with the public SDK and add a visionOS CI job.

Scope

  • Supply the required UIKit declarations through a header overlay installed from DarwinPrivateFrameworks.
  • Remove the OPENSWIFTUI_INTERNAL_XR_SDK build flag and its conditional code.
  • Use the overlay on visionOS in Package.swift, and limit iOS- and macOS-only dependencies to those platforms.
  • Add a visionOS Simulator build job to CI.

Acceptance criteria

  • The Example host app builds and runs on the visionOS Simulator with a standard Xcode installation and the overlay.
  • The CI job builds OpenSwiftUI for the visionOS Simulator.

Activity

  1. added this to the 0.24.0 milestone on Oct 16, 2026
  2. added
    type: ci
    area: tooling
    platform: visionOS
    priority: p1
    on Oct 16, 2026
  3. added
    type: build
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: toolingplatform: visionOSpriority: p1type: buildtype: ci

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions