diff --git a/.gitignore b/.gitignore index 79fa0df..c15ee17 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ Examples/ Gemfile Gemfile.lock *.sketch +.swiftpm diff --git a/Package.swift b/Package.swift index 865eabf..fb37579 100644 --- a/Package.swift +++ b/Package.swift @@ -27,11 +27,19 @@ import PackageDescription let package = Package( name: "SnapKit", + platforms: [ + .iOS(.v10), + .macOS(.v10_12), + .tvOS(.v10) + ], products: [ .library(name: "SnapKit", targets: ["SnapKit"]), ], targets: [ .target(name: "SnapKit", path: "Source"), .testTarget(name: "SnapKitTests", dependencies: ["SnapKit"]), + ], + swiftLanguageVersions: [ + .v5 ] )