-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
67 lines (65 loc) · 3.26 KB
/
Copy pathPackage.swift
File metadata and controls
67 lines (65 loc) · 3.26 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// swift-tools-version: 6.2
// GENERATED — do not edit by hand.
//
// Rendered by scripts/render_package_manifest.sh during a tagged release build
// and committed to the public client SDK repo. Core, Kit, and KMP all ship as
// remote binaryTargets: the url points at the matching GitHub Release asset and
// the checksum is computed from that exact zip, so a resolved package can never
// drift from the binary it was built against.
import PackageDescription
let package = Package(
name: "MaestroKit",
platforms: [.tvOS(.v18), .iOS(.v18)],
products: [
// MaestroSentryLink and MaestroRiveLink are internal link shims:
// consumers never import them, but their presence pulls the Sentry and
// RiveRuntime dependencies into the app so the binary targets resolve.
.library(name: "MaestroKit", targets: ["MaestroKitParamount", "MaestroCore", "paramountKit", "MaestroSentryLink", "MaestroRiveLink"])
],
dependencies: [
// Dynamic Sentry product so MaestroCore's `@rpath/Sentry.framework`
// reference resolves to a single shared copy (no static bake-in, no
// duplicate-symbol collision with a host app that also uses Sentry).
.package(url: "https://github.com/getsentry/sentry-cocoa", .upToNextMajor(from: "9.19.1")),
// RiveRuntime renders MaestroKit's overlays. Pinned to the exact version
// the shipped binaries were compiled against.
.package(url: "https://github.com/rive-app/rive-ios", exact: "6.21.0"),
],
targets: [
.binaryTarget(
name: "MaestroKitParamount",
url: "https://github.com/lessthan3/MaestroKit-Paramount.swift/releases/download/1.11.0/MaestroKitParamount.xcframework.zip",
checksum: "3e77f85fd88b66e845e070194bedbcaaa5fd8082878fc10678fc9ffe69f9dc81"
),
.binaryTarget(
name: "MaestroCore",
url: "https://github.com/lessthan3/MaestroKit-Paramount.swift/releases/download/1.11.0/MaestroCore.xcframework.zip",
checksum: "cd245120205831b389d039d5d94053b9a0ccbcf3e15c0cd5262a5335e75f78a6"
),
.binaryTarget(
name: "paramountKit",
url: "https://github.com/lessthan3/MaestroKit.android/releases/download/paramountKit-4.0.35.348/paramountKit-4.0.35.348.zip",
checksum: "6795010255be5e3a72881a6493c6f53db1bc15b2e1859e941b17f416d6a0e1e7"
),
// Internal link shim (source target): pulls the dynamic Sentry framework
// into the product so MaestroCore's telemetry resolves at runtime. Its
// source is committed to the public repo at the path below.
.target(
name: "MaestroSentryLink",
dependencies: [
.product(name: "Sentry-Dynamic", package: "sentry-cocoa"),
],
path: "Sources/MaestroSentryLink"
),
// Internal link shim (source target): pulls RiveRuntime into the product
// so the kit binary's `import RiveRuntime` resolves and links. Its source
// is committed to the public repo at the path below.
.target(
name: "MaestroRiveLink",
dependencies: [
.product(name: "RiveRuntime", package: "rive-ios"),
],
path: "Sources/MaestroRiveLink"
)
]
)