From c7543ef2a6a2639952ccd02f275d00277513738b Mon Sep 17 00:00:00 2001 From: Tony Osibov Date: Mon, 21 Dec 2020 15:43:31 -0800 Subject: [PATCH 1/3] added swift package manager file --- Package.swift | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..1606f6e --- /dev/null +++ b/Package.swift @@ -0,0 +1,15 @@ +// swift-tools-version:5.3 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "UTIKit", + products: [ + .library(name: "UTIKit", targets: ["UTIKit"]), + ], + dependencies: [], + targets: [ + .target(name: "UTIKit", dependencies: [], path: "UTIKit") + ] +) From 50a981095d6b0fcdb0a8d01d3e8e2de0f5c46488 Mon Sep 17 00:00:00 2001 From: Tony Osibov Date: Mon, 21 Dec 2020 16:22:29 -0800 Subject: [PATCH 2/3] Fixed warning with plist included in spm target --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 1606f6e..5f710f9 100644 --- a/Package.swift +++ b/Package.swift @@ -10,6 +10,6 @@ let package = Package( ], dependencies: [], targets: [ - .target(name: "UTIKit", dependencies: [], path: "UTIKit") + .target(name: "UTIKit", dependencies: [], path: "UTIKit", exclude: ["Info.plist"]) ] ) From 53a7dfce6f1f0b8cc19ccae07ed1082eb93eb823 Mon Sep 17 00:00:00 2001 From: Tony Osibov Date: Sun, 3 Jan 2021 15:54:11 -0800 Subject: [PATCH 3/3] added swift version to package def --- Package.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 5f710f9..46715d4 100644 --- a/Package.swift +++ b/Package.swift @@ -11,5 +11,6 @@ let package = Package( dependencies: [], targets: [ .target(name: "UTIKit", dependencies: [], path: "UTIKit", exclude: ["Info.plist"]) - ] + ], + swiftLanguageVersions: [.v5] )