1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// 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"])
],
dependencies: [
.package(name: "BiSON", url: "https://github.com/smartdevicelink/bson_c_lib.git", branch: "feature/swift_pm_support")
],
targets: [
.target(
name: "SmartDeviceLink",
dependencies: ["BiSON"],
path: "SmartDeviceLink",
exclude: ["Info.plist"],
publicHeadersPath: "public"
),
.target(
name: "SmartDeviceLinkSwift",
dependencies: ["SmartDeviceLink"],
path: "SmartDeviceLinkSwift",
exclude: ["Info.plist"]
)
]
)
|