build: depend on shared AVLiveWire package

Both ARBodyTracker (iOS) and AVLiveBody (macOS) now depend on
the local shared/AVLiveWire package so the wire format is
defined once. iOS USBServer imports it; macOS use lands in
Plan 3.
This commit is contained in:
L'électron rare
2026-05-18 17:03:37 +02:00
parent 7211ca8393
commit 4b6386ab5a
2 changed files with 12 additions and 0 deletions
@@ -8,9 +8,15 @@ let package = Package(
products: [
.executable(name: "ARBodyTracker", targets: ["ARBodyTracker"]),
],
dependencies: [
.package(path: "../../shared/AVLiveWire"),
],
targets: [
.executableTarget(
name: "ARBodyTracker",
dependencies: [
.product(name: "AVLiveWire", package: "AVLiveWire"),
],
path: "Sources/ARBodyTracker"
),
]
+6
View File
@@ -4,9 +4,15 @@ import PackageDescription
let package = Package(
name: "AVLiveBody",
platforms: [.macOS(.v15)],
dependencies: [
.package(path: "../../shared/AVLiveWire"),
],
targets: [
.executableTarget(
name: "AVLiveBody",
dependencies: [
.product(name: "AVLiveWire", package: "AVLiveWire"),
],
path: "Sources/AVLiveBody",
resources: [
.copy("Resources/smplx_faces.bin"),