-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
42 lines (37 loc) · 1.33 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.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "YandexMobileMetricaPush",
platforms: [
.iOS(.v9)
],
products: [
.library(name: "YandexMobileMetricaPush", targets: ["YandexMobileMetricaPushWrapper"]),
],
dependencies: [
.package(
name:"YandexMobileMetrica",
url: "https://github.com/yandexmobile/metrica-sdk-ios.git",
"4.0.0" ..< "5.0.0"
)
],
targets: [
.binaryTarget(
name: "YandexMobileMetricaPush",
url: "https://storage.mds.yandex.net/get-appmetrica-mobile-sdk/48248/YandexMobileMetricaPush-1.3.0-ios-spm-98ad2354-b91a-4b46-a627-c23939d0f1b9.zip",
checksum: "ec17e741cd2def306de0e57c40b4e24ef371179b29496e2bee36adf476001c3c"
),
.target(
name: "YandexMobileMetricaPushWrapper",
dependencies: [
.target(name: "YandexMobileMetricaPush"),
.product(name: "YandexMobileMetrica", package: "YandexMobileMetrica"),
],
path: "YandexMobileMetricaPushWrapper",
linkerSettings: [
.linkedFramework("UserNotifications")
]
),
]
)