Przeglądaj źródła

Package.swift: add dynamic library

Andrew Breckenridge 4 lat temu
rodzic
commit
c614ce7515
1 zmienionych plików z 2 dodań i 3 usunięć
  1. 2 3
      Package.swift

+ 2 - 3
Package.swift

@@ -6,9 +6,8 @@ let package = Package(
     platforms: [.iOS("9.0"), .macOS("10.10"), .tvOS("9.0"), .watchOS("6.2")],
     products: [
         // Products define the executables and libraries produced by a package, and make them visible to other packages.
-        .library(
-            name: "SwiftyStoreKit",
-            targets: ["SwiftyStoreKit"])
+        .library(name: "SwiftyStoreKit", targets: ["SwiftyStoreKit"]),
+        .library(name: "SwiftyStoreKit-Dynamic", type: .dynamic, targets: ["SwiftyStoreKit"]),
     ],
     dependencies: [
         // Dependencies declare other packages that this package depends on.