Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.9] Add visionOS as a platform alongside iOS, tvOS, watchOS, and the others #6663

Commits on Jun 21, 2023

  1. Add visionOS as a platform alongside iOS, tvOS, watchOS, and …

    …the others (swiftlang#6662)
    
    Add new enum constants for visionOS in all the places where it is appropriate.
    
    This includes the `platforms` parameter in the manifest, whose purpose is to list the minimum deployment targets that a package requires. Since there is initially only visionOS 1.0, and because absence of a platform in the `platforms` parameter means that the default version is supported (not that the platform is unsupported), all packages implicitly support visionOS 1.0 whether or not they list it in the `platforms` parameter. But having the enum constant alongside those for the other Apple platforms makes everything consistent, and will become important for any future versions.
    
    This change also makes the `visionOS` platform available for use in conditional target dependencies.
    
    rdar://107064954
    (cherry picked from commit 809cb15)
    abertelrud committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    c8289b1 View commit details
    Browse the repository at this point in the history