-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathPackage.swift
More file actions
42 lines (39 loc) · 1.46 KB
/
Package.swift
File metadata and controls
42 lines (39 loc) · 1.46 KB
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
// ----------------------- AUTO-GENERATED -----------------------
// DO NOT EDIT DIRECTLY. This file is generated by publish-ios.sh
// Source: scripts/templates/Package.swift.erb
// --------------------------------------------------------------
import PackageDescription
let package = Package(
name: "TSLocationManager",
platforms: [
.iOS(.v13)
],
products: [
// Consumers: import BackgroundGeolocation
.library(name: "BackgroundGeolocation", targets: ["BackgroundGeolocation"])
],
dependencies: [
// SPM dependency on TSBackgroundFetch (allow patch updates)
.package(
url: "https://github.com/transistorsoft/transistor-background-fetch.git",
.upToNextMinor(from: "4.1.0")
)
],
targets: [
.binaryTarget(
name: "TSLocationManager",
url: "https://github.com/transistorsoft/native-background-geolocation/releases/download/4.1.6/TSLocationManager.xcframework.zip",
checksum: "4d69ac8b10b3f742972ef6ec03fc34a5073915f59f8b903e51112158db0b70c7"
),
// Swift overlay that reexports the binary + TSBackgroundFetch
.target(
name: "BackgroundGeolocation",
dependencies: [
"TSLocationManager",
.product(name: "TSBackgroundFetch", package: "transistor-background-fetch")
],
path: "Sources/BackgroundGeolocation"
)
]
)