From 87c5fa15aa6bb3bc3af2fa8b4e1bcd739e0087ad Mon Sep 17 00:00:00 2001 From: Guglielmo Faglioni Date: Mon, 15 Apr 2024 11:45:57 +0200 Subject: [PATCH] Update Package.swift (#94) --- Package.swift | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index 6a2596b..7b314d6 100644 --- a/Package.swift +++ b/Package.swift @@ -1,7 +1,24 @@ +// swift-tools-version:5.0 import PackageDescription -let package = Package(name: "TDBadgedCell") - -package.targets = [ - Target(name: "TDBadgedCell", dependencies: []) -] +let package = Package( + name: "TDBadgedCell", + platforms: [ + .iOS(.v9) + ], + products: [ + .library( + name: "TDBadgedCell", + targets: ["TDBadgedCell"] + ) + ], + targets: [ + .target( + name: "TDBadgedCell", + dependencies: [], + path: "TDBadgedCell", + sources: ["TDBadgedCell.swift"] + ) + ], + swiftLanguageVersions: [.v5] +)