From bffbeecd1096dd5875a121d9ce24b411b53ab27d Mon Sep 17 00:00:00 2001 From: Max Cobb <5754073+maxxfrazer@users.noreply.github.com> Date: Mon, 5 Aug 2019 06:17:03 +0100 Subject: [PATCH] added updates to Package.swift so it can be imported with Xcode 11 (#615) --- .gitignore | 1 + Package.swift | 8 ++++++++ 2 files changed, 9 insertions(+) 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 ] )