diff --git a/Package.swift b/Package.swift index 94fff6b6..adcd6255 100644 --- a/Package.swift +++ b/Package.swift @@ -7,7 +7,9 @@ let package = Package( .macOS(.v10_13), .iOS(.v11), .tvOS(.v11), - .watchOS(.v4) + .watchOS(.v4), + // TODO: Enable after upgrading to Swift 5.9. + // .visionOS(.v1) ], products: [ .library( diff --git a/SWCompression.podspec b/SWCompression.podspec index 8e82a929..94ee8f09 100644 --- a/SWCompression.podspec +++ b/SWCompression.podspec @@ -19,6 +19,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = "10.13" s.tvos.deployment_target = "11.0" s.watchos.deployment_target = "4.0" + # s.visionos.deployment_target = "1.0" s.swift_versions = ["5"] diff --git a/SWCompression.xcodeproj/project.pbxproj b/SWCompression.xcodeproj/project.pbxproj index 3e6109d9..65151b1a 100644 --- a/SWCompression.xcodeproj/project.pbxproj +++ b/SWCompression.xcodeproj/project.pbxproj @@ -1584,12 +1584,13 @@ BitByteData, ); SDKROOT = macosx; - SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos"; + SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos xrsimulator xros"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TVOS_DEPLOYMENT_TARGET = 11.0; VERSIONING_SYSTEM = "apple-generic"; WATCHOS_DEPLOYMENT_TARGET = 4.0; + XROS_DEPLOYMENT_TARGET = 1.0; }; name = Debug; }; @@ -1667,12 +1668,13 @@ BitByteData, ); SDKROOT = macosx; - SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos"; + SUPPORTED_PLATFORMS = "macosx watchsimulator iphonesimulator appletvsimulator watchos appletvos iphoneos xrsimulator xros"; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_VERSION = 5.0; TVOS_DEPLOYMENT_TARGET = 11.0; VERSIONING_SYSTEM = "apple-generic"; WATCHOS_DEPLOYMENT_TARGET = 4.0; + XROS_DEPLOYMENT_TARGET = 1.0; }; name = Release; };