-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
42 lines (39 loc) · 1.4 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
// swift-tools-version:5.9
// Copyright Airship and Contributors
import PackageDescription
let package = Package(
name: "AirshipFrameworkProxy",
defaultLocalization: "en",
platforms: [.macOS(.v10_15), .iOS(.v14), .tvOS(.v14), .visionOS(.v1)],
products: [
.library(
name: "AirshipFrameworkProxy",
targets: ["AirshipFrameworkProxy", "AirshipFrameworkProxyLoader"]
)
],
dependencies: [
.package(url: "https://github.com/urbanairship/ios-library.git", from: "18.14.2")
],
targets: [
.target(
name: "AirshipFrameworkProxy",
dependencies: [
.product(name: "AirshipCore", package: "ios-library"),
.product(name: "AirshipMessageCenter", package: "ios-library"),
.product(name: "AirshipPreferenceCenter", package: "ios-library"),
.product(name: "AirshipAutomation", package: "ios-library"),
.product(name: "AirshipFeatureFlags", package: "ios-library"),
],
path: "ios/AirshipFrameworkProxy",
exclude: [
"AirshipFrameworkProxy.h"
]
),
.target(
name: "AirshipFrameworkProxyLoader",
dependencies: [.target(name: "AirshipFrameworkProxy")],
path: "ios/AirshipFrameworkProxyLoader",
publicHeadersPath: "Public"
)
]
)