From 4b6386ab5ae81e43beb9acdd4620deee79c20f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=27=C3=A9lectron=20rare?= <108685187+electron-rare@users.noreply.github.com> Date: Mon, 18 May 2026 17:03:37 +0200 Subject: [PATCH] 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. --- iphone-arbody/ARBodyTracker.swiftpm/Package.swift | 6 ++++++ launcher/AV-Live-Body/Package.swift | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/iphone-arbody/ARBodyTracker.swiftpm/Package.swift b/iphone-arbody/ARBodyTracker.swiftpm/Package.swift index 3381c70..ed1a671 100644 --- a/iphone-arbody/ARBodyTracker.swiftpm/Package.swift +++ b/iphone-arbody/ARBodyTracker.swiftpm/Package.swift @@ -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" ), ] diff --git a/launcher/AV-Live-Body/Package.swift b/launcher/AV-Live-Body/Package.swift index 9694297..1a3e991 100644 --- a/launcher/AV-Live-Body/Package.swift +++ b/launcher/AV-Live-Body/Package.swift @@ -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"),