Migrate to Lyrebird 2.0.0; app version bump
Lyrebird 2.0 moved `@UIParam` / `UIParamNode` out of `LyrebirdUI` into the core `LyrebirdSynth` module (the `Lyrebird` product); `LyrebirdUI` no longer re-exports them. Migrate: - add `import LyrebirdSynth` to every file that uses `@UIParam`/`UIParamNode` (the pedal controls, tempo-syncable params, and the SwiftUI views). - Package.swift: the `LyrebirdShoeGazeUI` target now also depends on the `Lyrebird` product (previously only `LyrebirdUI`), so `import LyrebirdSynth` resolves there under explicit module maps. - Package.resolved (SwiftPM + both Xcode projects) pinned to Lyrebird 2.0.0. Also: app marketing/project version bumps, Xcode upgrade-check, and a CHANGELOG wording tweak carried in the same working tree. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+9
-6
@@ -24,14 +24,16 @@ let package = Package(
|
||||
.library(name: "LyrebirdShoeGazeUI", targets: ["LyrebirdShoeGazeUI"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://realizedsound.mooo.com/josh/Lyrebird", from: "1.7.2"),
|
||||
.package(url: "https://realizedsound.mooo.com/josh/Lyrebird", from: "2.0.0"),
|
||||
],
|
||||
targets: [
|
||||
// The core target depends on LyrebirdUI as well as the synthesis core:
|
||||
// pedals expose their knobs as `@UIParam`, whose projected `UIParamNode`
|
||||
// (the type `ParameterKnob` binds to) lives in LyrebirdUI. Importing
|
||||
// LyrebirdUI here does not pull SwiftUI into ShoeGaze's own sources —
|
||||
// it only makes the `@UIParam` wrapper and `UIParamNode` visible.
|
||||
// Both targets depend on the core `Lyrebird` product AND `LyrebirdUI`.
|
||||
// Pedals expose their knobs as `@UIParam`, whose projected `UIParamNode`
|
||||
// lives in the core `LyrebirdSynth` module (the `Lyrebird` product) as of
|
||||
// Lyrebird 2.0 — `LyrebirdUI` no longer re-exports it — so any file using
|
||||
// `@UIParam` / `UIParamNode` needs `import LyrebirdSynth`, which requires
|
||||
// the `Lyrebird` product as a direct dependency. Importing these does not
|
||||
// pull SwiftUI into ShoeGaze's own core sources.
|
||||
.target(
|
||||
name: "LyrebirdShoeGaze",
|
||||
dependencies: [
|
||||
@@ -44,6 +46,7 @@ let package = Package(
|
||||
name: "LyrebirdShoeGazeUI",
|
||||
dependencies: [
|
||||
"LyrebirdShoeGaze",
|
||||
.product(name: "Lyrebird", package: "Lyrebird"),
|
||||
.product(name: "LyrebirdUI", package: "Lyrebird"),
|
||||
],
|
||||
path: "Sources/LyrebirdShoeGazeUI"
|
||||
|
||||
Reference in New Issue
Block a user