We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4701e2b commit 68e1492Copy full SHA for 68e1492
Package.swift
@@ -4,7 +4,7 @@ import PackageDescription
4
import CompilerPluginSupport
5
6
let AsyncAlgorithms_v1_0 = "AvailabilityMacro=AsyncAlgorithms 1.0:macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0"
7
-#if compiler(>=6.0)
+#if compiler(>=6.0) && swift(>=6.0) // 5.10 doesnt support visionOS availability
8
let AsyncAlgorithms_v1_1 =
9
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
10
#else
0 commit comments