Track visionOS support

Aberta
#1,171 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
28/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
swift
Domínio
mobile-dev

Direção de pesquisa

Read the tracker’s current-state and scope sections, then choose a specific unchecked item with its own linked issue, such as device build support (#1176) or foreground material vibrancy (#1178). Start with that linked issue; this tracker spans build, CI, rendering, frameworks, and API availability, so it does not identify a single code entry point. Done means completing the chosen subtask and meeting its stated outcome.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

area: compatibility area: hosting-bridge area: rendering platform: visionOS priority: p1 type: feature

Summary

Track the work to support visionOS in OpenSwiftUI. The changes land as a stack of pull requests. Each item below links to its own issue or pull request when it starts.

Current state

  • visionOS Simulator support is experimental.
  • OpenSwiftUI builds for the visionOS Simulator with the public SDK and a UIKit header overlay. CI builds it but does not run tests.
  • visionOS device build support is in progress (#1176).

Scope

Build and CI
  • Build for the visionOS Simulator with the public SDK and a UIKit header overlay, and add a visionOS Simulator build job to CI (#1156).
  • Build for visionOS devices with the UIKit header overlay (#1176).
  • Run tests on the visionOS Simulator in CI.
Rendering and hosting
  • Fix the crash for default foreground content on visionOS by resolving the foreground material style with system colors (#1173).
  • Implement foreground material vibrancy on visionOS (#1178).
  • Verify the UIKit hosting view behavior on visionOS: display link, contents scale, safe area, and keyboard insets.
Private frameworks
  • Provide visionOS device and Simulator slices in DarwinPrivateFrameworks for AttributeGraph, RenderBox, CoreUI, BacklightServices, CoreSVG, SFSymbols, and FeatureFlags (OpenSwiftUIProject/DarwinPrivateFrameworks#78).
  • Link CoreSVG, SFSymbols, and FeatureFlags on visionOS. Gestures stays excluded, because visionOS 2.5 has no Gestures framework (#1176).
  • Provide visionOS device and Simulator slices in the Compute release (https://github.com/OpenSwiftUIProject/Compute/releases/tag/0.6.0-bugfix.2).
API availability
  • Update visionOS availability for APIs that the visionOS 26 SDK makes available, for example sensoryFeedback.

Acceptance criteria

  • OpenSwiftUI builds and its tests run on the visionOS Simulator in CI with a standard Xcode installation.
  • The Example apps run on the visionOS Simulator without visionOS-specific workarounds.
Linguagem predominante
Swift
Estrelas
2.5k
Forks
84
Merge médio
5h 5min
PRs com merge (30d)
81

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de OpenSwiftUIProject/OpenSwiftUI

Todas as issues de OpenSwiftUIProject/OpenSwiftUI

Issues semelhantes

Mais issues de Swift

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.