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] +)