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 to Package.swift to emit useful compilation errors #398

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let package = Package(
// The platforms below are not currently supported for running
// the generator itself. We include them here to allow the generator
// to emit a more descriptive compiler error.
.iOS(.v13), .tvOS(.v13), .watchOS(.v6),
.iOS(.v13), .tvOS(.v13), .watchOS(.v6), .visionOS(.v1),
simonjbeaumont marked this conversation as resolved.
Show resolved Hide resolved
],
products: [
.executable(name: "swift-openapi-generator", targets: ["swift-openapi-generator"]),
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ The generator is used during development and is supported on macOS and Linux.

The generated code, runtime library, and transports are supported on more platforms, listed below.

| Component | macOS | Linux | iOS | tvOS | watchOS |
| -: | :-: | :-: | :-: | :-: | :-: |
| Generator plugin and CLI | ✅ 10.15+ | ✅ | ❌ | ❌ | ❌ |
| Generated code, runtime, transports | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ |
| Component | macOS | Linux | iOS | tvOS | watchOS | visionOS |
| -: | :-: | :-: | :-: | :-: | :-: | :-: |
| Generator plugin and CLI | ✅ 10.15+ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Generated code, runtime, transports | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ |

## Documentation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ The generator is used during development and is supported on macOS and Linux.

The generated code, runtime library, and transports are supported on more platforms, listed below.

| Component | macOS | Linux | iOS | tvOS | watchOS |
| -: | :-: | :-: | :-: | :-: | :-: |
| Generator plugin and CLI | ✅ 10.15+ | ✅ | ❌ | ❌ | ❌ |
| Generated code, runtime, transports | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ |
| Component | macOS | Linux | iOS | tvOS | watchOS | visionOS |
| -: | :-: | :-: | :-: | :-: | :-: | :-: |
| Generator plugin and CLI | ✅ 10.15+ | ✅ | ❌ | ❌ | ❌ | ❌ |
| Generated code, runtime, transports | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ |

## Topics

Expand Down