-
Notifications
You must be signed in to change notification settings - Fork 18
/
Package.swift
39 lines (38 loc) · 1.23 KB
/
Package.swift
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
33
34
35
36
37
38
39
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Backtrace",
platforms: [
.iOS(.v12),
.macOS(.v10_13),
.tvOS(.v12)
],
products: [
.library(name: "Backtrace", targets: ["Backtrace"])
],
dependencies: [
.package(url: "https://github.com/microsoft/plcrashreporter.git", .exact("1.11.1")),
.package(url: "https://github.com/Quick/Nimble.git", from: "10.0.0"),
.package(url: "https://github.com/Quick/Quick.git", from: "5.0.1")
],
targets: [
.target(
name: "Backtrace",
dependencies: [
.product(name: "CrashReporter", package: "plcrashreporter")
],
path: "Sources",
resources: [.process("Features/Resources/Model.xcdatamodeld"),
.process("Resources/PrivacyInfo.xcprivacy")
]
),
.testTarget(
name: "Backtrace-Tests",
dependencies: ["Backtrace", "Quick", "Nimble"],
path: "Tests",
resources: [.process("Resources")]
),
],
swiftLanguageVersions: [.v5]
)