// swift-tools-version:5.0

import PackageDescription

let package = Package(
    name: "Swinject",
    products: [
        .library(name: "Swinject",
                 targets: ["Swinject"]),
        .library(name: "Swinject-Dynamic",
                 type: .dynamic,
                 targets: ["Swinject"]),
    ],
    targets: [
        .target(name: "Swinject",
                path: "Sources"),
    ]
)

// swift-tools-version:5.0

import PackageDescription

let package = Package(
    name: "Swinject",
    products: [
        .library(name: "Swinject",
                 targets: ["Swinject"]),
    ],
    targets: [
        .target(name: "Swinject",
                path: "Sources"),
    ]
)

--- 
+++ 
@@ -7,6 +7,9 @@
     products: [
         .library(name: "Swinject",
                  targets: ["Swinject"]),
+        .library(name: "Swinject-Dynamic",
+                 type: .dynamic,
+                 targets: ["Swinject"]),
     ],
     targets: [
         .target(name: "Swinject",
Add dynamic version of Swinject in SPM
