소스 검색

Package.swift: add dynamic library

Andrew Breckenridge 4 년 전
부모
커밋
c614ce7515
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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")],
     platforms: [.iOS("9.0"), .macOS("10.10"), .tvOS("9.0"), .watchOS("6.2")],
     products: [
     products: [
         // Products define the executables and libraries produced by a package, and make them visible to other packages.
         // 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: [
         // Dependencies declare other packages that this package depends on.
         // Dependencies declare other packages that this package depends on.