-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPackage.swift
61 lines (58 loc) · 2.1 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.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "LocationSpoofer",
platforms: [
.macOS(.v10_15),
],
products: [
.library(
name: "LocationSpoofer",
targets: ["CMobileDevice", "SimulatorDevice", "LocationSpoofer"]
)
],
dependencies: [
.package(
url: "https://github.com/Schlaubischlump/CLogger.git",
from: "0.0.1"
),
// OpenSSL is required by libimobiledevice
.package(
url: "https://github.com/passepartoutvpn/openssl-apple.git",
from: "1.0.0"
),
],
targets: [
.binaryTarget(
name: "plist",
url: "https://github.com/Schlaubischlump/XCF/releases/download/v0.0.1/plist.xcframework.zip",
checksum: "44e29d0d469eb7f1762714798a1f1635db92f467f557c9ee8953c3dbb1733d01"
),
.binaryTarget(
name: "usbmuxd",
url: "https://github.com/Schlaubischlump/XCF/releases/download/v0.0.1/usbmuxd.xcframework.zip",
checksum: "6f63532feea9ddb16288bfdd99a4514730a40b62689e94d3bb99d2e0529ea176"
),
.binaryTarget(
name: "imobiledevice",
url: "https://github.com/Schlaubischlump/XCF/releases/download/v0.0.1/imobiledevice.xcframework.zip",
checksum: "ab5284a8cd479d0d5399a1de63111683356ccc1dbac2952e75509e18dbbd927f"
),
.target(
name: "CMobileDevice",
dependencies: ["CLogger", "openssl-apple", "plist", "usbmuxd", "imobiledevice"],
path: "Sources/CMobileDevice"
),
.target(
name: "SimulatorDevice",
dependencies: ["CLogger"],
path: "Sources/SimulatorDevice"
),
.target(
name: "LocationSpoofer",
dependencies: ["CMobileDevice", "SimulatorDevice"],
path: "Sources/LocationSpoofer"
)
]
)