Skip to content

Commit 424b88e

Browse files
fix(package): drop aetherctl product so tvOS/iOS consumers can build
aetherctl uses Foundation.Process, which is unavailable on tvOS and iOS. Exposing it as a product forced SPM consumers on those platforms to compile it and fail. Keep the executableTarget so `swift build` on macOS still produces the CLI for upstream development. Reported in #5 by @hp561. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 60eca92 commit 424b88e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ let package = Package(
1414
name: "AetherEngine",
1515
targets: ["AetherEngine"]
1616
),
17-
// Standalone CLI used for offline reproduction of the host-side
18-
// HLSVideoEngine playback symptoms on macOS, without going
19-
// through TestFlight + Apple TV. Builds only on macOS in
20-
// practice (Apple platform reqs match the lib target).
21-
.executable(name: "aetherctl", targets: ["aetherctl"]),
17+
// aetherctl is intentionally not exposed as a product. The target
18+
// uses Foundation.Process, which is unavailable on tvOS/iOS, so
19+
// exposing it would force SPM consumers to compile it on those
20+
// platforms. The target is preserved below so `swift build` on
21+
// macOS still produces the CLI for upstream development.
2222
],
2323
dependencies: [
2424
// Minimal FFmpeg build (avcodec, avformat, avutil, swresample only).

0 commit comments

Comments
 (0)