// swift-tools-version:5.3
import PackageDescription

let package = Package(
    name: "SmartDeviceLink",
    defaultLocalization: "en",
    platforms: [
        .iOS(.v10)
    ],
    products: [
        .library(name: "SmartDeviceLink", targets: ["SmartDeviceLink"]),
        .library(name: "SmartDeviceLinkSwift", targets: ["SmartDeviceLinkSwift"])
    ],
    targets: [
        .target(
            name: "SmartDeviceLink",
            path: "SmartDeviceLink",
            exclude: ["Info.plist"],
            publicHeadersPath: "public"
        ),
        .target(
            name: "SmartDeviceLinkSwift",
            dependencies: [
                "SmartDeviceLink"
            ],
            path: "SmartDeviceLinkSwift"
        ),
        .target(
            name: "BiSON",
            path: "bson_c_lib/src"
        )
    ]
)

// swift-tools-version:5.3
import PackageDescription

let package = Package(
    name: "SmartDeviceLink",
    defaultLocalization: "en",
    platforms: [
        .iOS(.v10)
    ],
    products: [
        .library(name: "SmartDeviceLink", targets: ["SmartDeviceLink"]),
        .library(name: "SmartDeviceLinkSwift", targets: ["SmartDeviceLinkSwift"])
    ],
    targets: [
        .target(
            name: "SmartDeviceLink",
            path: "SmartDeviceLink",
            publicHeadersPath: "public"
        ),
        .target(
            name: "SmartDeviceLinkSwift",
            dependencies: [
                "SmartDeviceLink"
            ],
            path: "SmartDeviceLinkSwift"
        ),
    ]
)

--- 
+++ 
@@ -15,6 +15,7 @@
         .target(
             name: "SmartDeviceLink",
             path: "SmartDeviceLink",
+            exclude: ["Info.plist"],
             publicHeadersPath: "public"
         ),
         .target(
@@ -24,5 +25,9 @@
             ],
             path: "SmartDeviceLinkSwift"
         ),
+        .target(
+            name: "BiSON",
+            path: "bson_c_lib/src"
+        )
     ]
 )
Add BiSON and exclude info.plist
