From eeb0bb6996e165846c6d75b2a7ba9428b1459707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Ramos?= Date: Wed, 6 May 2020 11:55:11 +0200 Subject: [PATCH 1/2] #43 Add support to SPM --- Package.swift | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..b97db85 --- /dev/null +++ b/Package.swift @@ -0,0 +1,16 @@ +// swift-tools-version:5.1 +import PackageDescription + +let package = Package( + name: "SwiftyXMLParser", + platforms: [.iOS(.v10)], + products: [ + .library(name: "SwiftyXMLParser", targets: ["SwiftyXMLParser"]) + ], + dependencies: [ + ], + targets: [ + .target(name: "SwiftyXMLParser", dependencies: [], path: "SwiftyXMLParser"), + .testTarget(name: "SwiftyXMLParserTests", dependencies: ["SwiftyXMLParser"], path: "SwiftyXMLParserTests") + ] +) From b4ae1e8d05c6c34ab1c47a30dab0e1d8ec0d5013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Ramos?= Date: Wed, 6 May 2020 15:28:47 +0200 Subject: [PATCH 2/2] #43 Include MacOS platform in Package --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index b97db85..904c9d1 100644 --- a/Package.swift +++ b/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let package = Package( name: "SwiftyXMLParser", - platforms: [.iOS(.v10)], + platforms: [.iOS(.v8), .macOS(.v10_10)], products: [ .library(name: "SwiftyXMLParser", targets: ["SwiftyXMLParser"]) ],