From 4a4d1faaf90ee267e53421ed98f425fb8eaa2591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20B=C3=BCnemann?= Date: Wed, 28 Sep 2022 16:50:23 +0200 Subject: [PATCH] Add SwiftPM manifest and OS source guards (#102) --- Package.swift | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..67522e1 --- /dev/null +++ b/Package.swift @@ -0,0 +1,20 @@ +// swift-tools-version:5.0 +import PackageDescription + +let package = Package( + name: "Device", + platforms: [.iOS(.v9), .macOS(.v10_10)], + products: [ + .library( + name: "Device", + targets: ["Device"] + ) + ], + targets: [ + .target( + name: "Device", + path: "Source" + ) + ], + swiftLanguageVersions: [.v4, .v4_2, .v5] +)