forked from amplitude/Amplitude-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
48 lines (45 loc) · 1.65 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
// 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: "Amplitude",
platforms: [
.iOS(.v10),
.tvOS(.v9),
.macOS(.v10_10)
],
products: [
.library(name: "Amplitude", targets: ["Amplitude"]),
],
targets: [
.target(
name: "EventExplorer",
path: "Sources/EventExplorer",
resources: [
.process("Resources/AMPBubbleView.xib"),
.process("Resources/AMPInfoViewController.xib"),
.process("Resources/Images/cancel.png"),
.process("Resources/Images/[email protected]"),
.process("Resources/Images/[email protected]"),
.process("Resources/Images/logo-banner.png"),
.process("Resources/Images/[email protected]"),
.process("Resources/Images/[email protected]"),
.process("Resources/Images/logo-button.png"),
.process("Resources/Images/[email protected]"),
.process("Resources/Images/[email protected]")
],
publicHeadersPath: ".",
cSettings: [
.headerSearchPath("../Amplitude")
]
),
.target(
name: "Amplitude",
dependencies: [
.target(name: "EventExplorer", condition: .when(platforms: [.iOS])),
],
path: "Sources/Amplitude",
resources: [.process("Resources/ComodoRsaDomainValidationCA.der")],
publicHeadersPath: "."),
]
)