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

Add visionOS support #844

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add visionOS support #844

wants to merge 2 commits into from

Conversation

yonihemi
Copy link

Summary

Adds support for running DocC on visionOS by extending platform checks.

Dependencies

Upgrades Swift Crypto to v2.6.0, which removed specific os conditions.

Testing

Run SwiftDocCTests and SwiftDocCUtilitiesTests with a visionOS simulator target.
No platform-specific tests added.
I don't think there's a public way to run the benchmark for a target other than host.

Copy link
Contributor

@Kyle-Ye Kyle-Ye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general.

But I'm not sure if we need to add visionOS support since we do not have support for watchOS/tvOS/etc.

Can you point out some use case on why we need to run swift-docc on iOS / visionOS platform since those platform does not support running executable target directly?

Only macOS / Linux / Windows support running cli executable.

cc @franklinsch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants