forked from rickclephas/NSExceptionKt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
61 lines (57 loc) · 1.81 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// swift-tools-version: 5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "NSExceptionKt",
platforms: [.iOS(.v11), .macOS(.v10_13), .tvOS(.v12), .watchOS(.v7)],
products: [
.library(
name: "NSExceptionKtCrashlytics",
targets: ["NSExceptionKtCrashlytics"]
),
.library(
name: "NSExceptionKtBugsnag",
targets: ["NSExceptionKtBugsnag"]
)
],
dependencies: [
.package(
url: "https://github.com/firebase/firebase-ios-sdk.git",
"9.3.0"..<"11.0.0"
),
.package(
url: "https://github.com/bugsnag/bugsnag-cocoa.git",
"6.22.1"..<"7.0.0"
)
],
targets: [
.target(
name: "NSExceptionKtCoreObjC",
path: "NSExceptionKtCoreObjC",
publicHeadersPath: "."
),
.target(
name: "NSExceptionKtCrashlyticsObjC",
path: "NSExceptionKtCrashlyticsObjC",
publicHeadersPath: "."
),
.target(
name: "NSExceptionKtCrashlytics",
dependencies: [
.target(name: "NSExceptionKtCoreObjC"),
.target(name: "NSExceptionKtCrashlyticsObjC"),
.product(name: "FirebaseCrashlytics", package: "firebase-ios-sdk")
],
path: "NSExceptionKtCrashlytics"
),
.target(
name: "NSExceptionKtBugsnag",
dependencies: [
.target(name: "NSExceptionKtCoreObjC"),
.product(name: "Bugsnag", package: "bugsnag-cocoa")
],
path: "NSExceptionKtBugsnag"
)
],
swiftLanguageVersions: [.v5]
)