diff --git a/Package.swift b/Package.swift index e66186dc..210da000 100644 --- a/Package.swift +++ b/Package.swift @@ -29,7 +29,7 @@ import PackageDescription let package = Package( name: "CoreStore", platforms: [ - .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v7) + .macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v7), .visionOS(.v1) ], products: [ .library(name: "CoreStore", targets: ["CoreStore"]) diff --git a/Sources/DiffableDataSource.CollectionViewAdapter-UIKit.swift b/Sources/DiffableDataSource.CollectionViewAdapter-UIKit.swift index 108cdd04..3d24cf69 100644 --- a/Sources/DiffableDataSource.CollectionViewAdapter-UIKit.swift +++ b/Sources/DiffableDataSource.CollectionViewAdapter-UIKit.swift @@ -23,7 +23,7 @@ // SOFTWARE. // -#if canImport(UIKit) && (os(iOS) || os(tvOS)) +#if canImport(UIKit) && (os(iOS) || os(tvOS) || os(visionOS)) import UIKit import CoreData diff --git a/Sources/DiffableDataSource.TableViewAdapter-UIKit.swift b/Sources/DiffableDataSource.TableViewAdapter-UIKit.swift index 690d8923..2521eb5b 100644 --- a/Sources/DiffableDataSource.TableViewAdapter-UIKit.swift +++ b/Sources/DiffableDataSource.TableViewAdapter-UIKit.swift @@ -23,7 +23,7 @@ // SOFTWARE. // -#if canImport(UIKit) && (os(iOS) || os(tvOS)) +#if canImport(UIKit) && (os(iOS) || os(tvOS) || os(visionOS)) import UIKit import CoreData