From 0ddf350f1f38636c99f4895b0c6b85467e47e374 Mon Sep 17 00:00:00 2001 From: Joshua Parmenter Date: Wed, 23 Sep 2026 21:17:30 -0700 Subject: [PATCH] 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 --- CHANGELOG.md | 7 ++++--- .../ShoeGazeBuilder.xcodeproj/project.pbxproj | 15 +++++++------ .../xcschemes/ShoeGazeBuilder.xcscheme | 2 +- .../project.pbxproj | 21 ++++++++++++------- .../xcshareddata/swiftpm/Package.resolved | 4 ++-- .../xcschemes/ShoeGazeBuilderiOS.xcscheme | 2 +- Demo/ShoeGazeBuilderiOS/Info.plist | 10 ++++----- Package.resolved | 6 +++--- Package.swift | 15 +++++++------ .../xcshareddata/swiftpm/Package.resolved | 6 +++--- Sources/LyrebirdShoeGaze/PedalButton.swift | 1 + Sources/LyrebirdShoeGaze/PedalControl.swift | 1 + Sources/LyrebirdShoeGaze/PedalKnob.swift | 1 + .../LyrebirdShoeGaze/PedalSelectorKnob.swift | 1 + Sources/LyrebirdShoeGaze/PedalSlider.swift | 1 + Sources/LyrebirdShoeGaze/PedalSwitch.swift | 1 + .../Tempo/TempoSyncableParam.swift | 1 + Sources/LyrebirdShoeGazeUI/BoardBarView.swift | 1 + .../LyrebirdShoeGazeUI/BoardsSheetView.swift | 1 + .../LyrebirdShoeGazeUI/ChainRouterView.swift | 1 + Sources/LyrebirdShoeGazeUI/MergerView.swift | 1 + .../LyrebirdShoeGazeUI/PedalBoardView.swift | 1 + .../LyrebirdShoeGazeUI/PedalButtonView.swift | 1 + .../PedalRebuildEnvironment.swift | 1 + .../LyrebirdShoeGazeUI/PedalSwitchView.swift | 1 + Sources/LyrebirdShoeGazeUI/PedalView.swift | 1 + Sources/LyrebirdShoeGazeUI/SplitterView.swift | 1 + .../VerticalParameterSlider.swift | 1 + 28 files changed, 68 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a1018a..4366714 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,9 +59,10 @@ plus a batch of rig-switching and reverb fixes. - **No more spurious "Save changes?" prompt when switching rigs.** The unsaved-changes check compared live session settings (input source, engine channel counts) that legitimately differ from a rig's saved values; it now compares rig content only. -- **Overwrite guard for starter rigs.** Saving over a loaded starter rig now asks first, - offering **Overwrite**, **Save as New Rig**, or **Cancel**, so a shipped rig isn't replaced - by accident. +- **Starter rigs can't be overwritten by accident.** A built-in starter rig is managed content + (refreshed to the shipped version on updates), so saving over a loaded starter offers **Save + as New Rig** or **Cancel** — your changes are kept as your own rig rather than replacing the + shipped one. - **Multi-board signal-router rigs now save and load.** Routed A/B rigs were previously lost on save; their branch chains and blend now persist. diff --git a/Demo/ShoeGazeBuilder.xcodeproj/project.pbxproj b/Demo/ShoeGazeBuilder.xcodeproj/project.pbxproj index 836da4f..d390367 100644 --- a/Demo/ShoeGazeBuilder.xcodeproj/project.pbxproj +++ b/Demo/ShoeGazeBuilder.xcodeproj/project.pbxproj @@ -100,7 +100,7 @@ attributes = { BuildIndependentTargetsInParallel = 1; LastSwiftUpdateCheck = 1600; - LastUpgradeCheck = 2660; + LastUpgradeCheck = 2700; TargetAttributes = { C3B100000000000000000014 = { CreatedOnToolsVersion = 16.0; @@ -163,7 +163,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = "21``"; + CURRENT_PROJECT_VERSION = 22; DEAD_CODE_STRIPPING = YES; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_HARDENED_RUNTIME = YES; @@ -175,7 +175,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 3.1.1; + MARKETING_VERSION = 3.2; PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilder; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -193,7 +193,7 @@ "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = "21``"; + CURRENT_PROJECT_VERSION = 22; DEAD_CODE_STRIPPING = YES; ENABLE_HARDENED_RUNTIME = YES; INFOPLIST_FILE = ShoeGazeBuilder/Info.plist; @@ -204,7 +204,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 3.1.1; + MARKETING_VERSION = 3.2; PRODUCT_BUNDLE_IDENTIFIER = net.realizedsound.ShoeGazeBuilder; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -216,6 +216,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; @@ -279,6 +280,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; @@ -366,7 +368,8 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://realizedsound.mooo.com/josh/Lyrebird"; requirement = { - kind = upToNextMajorVersion; + kind = versionRange; + maximumVersion = 3.0.0; minimumVersion = 1.2.0; }; }; diff --git a/Demo/ShoeGazeBuilder.xcodeproj/xcshareddata/xcschemes/ShoeGazeBuilder.xcscheme b/Demo/ShoeGazeBuilder.xcodeproj/xcshareddata/xcschemes/ShoeGazeBuilder.xcscheme index d8a8ca3..35d71ab 100644 --- a/Demo/ShoeGazeBuilder.xcodeproj/xcshareddata/xcschemes/ShoeGazeBuilder.xcscheme +++ b/Demo/ShoeGazeBuilder.xcodeproj/xcshareddata/xcschemes/ShoeGazeBuilder.xcscheme @@ -1,6 +1,6 @@ - - LSSupportsOpeningDocumentsInPlace - CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -32,11 +28,13 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.4.0 + ${MARKETING_VERSION} CFBundleVersion - 1 + ${CURRENT_PROJECT_VERSION} LSRequiresIPhoneOS + LSSupportsOpeningDocumentsInPlace + NSHumanReadableCopyright Copyright © 2026 realizedsound. All rights reserved. NSMicrophoneUsageDescription diff --git a/Package.resolved b/Package.resolved index 2afb0f3..fd6feb8 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "eed06b1870eecb6b28d2417331f105ea1cc25e9d6fe588c9d2eff8ca3af096f0", + "originHash" : "f9934abeea28a70c1be54af0c3f817ff5d985104ec77c04753214e68c4acf032", "pins" : [ { "identity" : "linenoise-swift", @@ -15,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://realizedsound.mooo.com/josh/Lyrebird", "state" : { - "revision" : "77580ee98e05cb4a94aac367097d27b91d3776c0", - "version" : "1.7.2" + "revision" : "b6fdee8bfc7c44d31a0a8cfe6fbd53f352dfad54", + "version" : "2.0.0" } }, { diff --git a/Package.swift b/Package.swift index eb1cddf..c8caf30 100644 --- a/Package.swift +++ b/Package.swift @@ -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" diff --git a/ShoeGaze.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ShoeGaze.xcworkspace/xcshareddata/swiftpm/Package.resolved index 47e28a1..1c850d1 100644 --- a/ShoeGaze.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ShoeGaze.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "9ce521e7cebf3eed8e20837aba069e3f0c5484a64130b1791e8e6fdb7874b9f0", + "originHash" : "13b4323e9d41dfdff1c6aeac595cff272eb4eee9cc1a3146483bdaf8543bc103", "pins" : [ { "identity" : "linenoise-swift", @@ -15,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://realizedsound.mooo.com/josh/Lyrebird", "state" : { - "revision" : "77580ee98e05cb4a94aac367097d27b91d3776c0", - "version" : "1.7.2" + "revision" : "b6fdee8bfc7c44d31a0a8cfe6fbd53f352dfad54", + "version" : "2.0.0" } }, { diff --git a/Sources/LyrebirdShoeGaze/PedalButton.swift b/Sources/LyrebirdShoeGaze/PedalButton.swift index b2a4329..3d25d30 100644 --- a/Sources/LyrebirdShoeGaze/PedalButton.swift +++ b/Sources/LyrebirdShoeGaze/PedalButton.swift @@ -4,6 +4,7 @@ // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT +import LyrebirdSynth import LyrebirdUI /// A UI-agnostic description of one pedal button — a momentary action trigger or a diff --git a/Sources/LyrebirdShoeGaze/PedalControl.swift b/Sources/LyrebirdShoeGaze/PedalControl.swift index f3353fb..a369fe5 100644 --- a/Sources/LyrebirdShoeGaze/PedalControl.swift +++ b/Sources/LyrebirdShoeGaze/PedalControl.swift @@ -4,6 +4,7 @@ // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT +import LyrebirdSynth import LyrebirdUI /// A continuous pedal control that can be driven by a MIDI Control Change — the common shape of a diff --git a/Sources/LyrebirdShoeGaze/PedalKnob.swift b/Sources/LyrebirdShoeGaze/PedalKnob.swift index f17971a..d1d9fcd 100644 --- a/Sources/LyrebirdShoeGaze/PedalKnob.swift +++ b/Sources/LyrebirdShoeGaze/PedalKnob.swift @@ -4,6 +4,7 @@ // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT +import LyrebirdSynth import LyrebirdUI /// A UI-agnostic description of one controllable pedal knob. diff --git a/Sources/LyrebirdShoeGaze/PedalSelectorKnob.swift b/Sources/LyrebirdShoeGaze/PedalSelectorKnob.swift index 50e3684..e8d7b67 100644 --- a/Sources/LyrebirdShoeGaze/PedalSelectorKnob.swift +++ b/Sources/LyrebirdShoeGaze/PedalSelectorKnob.swift @@ -4,6 +4,7 @@ // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT +import LyrebirdSynth import LyrebirdUI /// A UI-agnostic description of a knob that snaps to a fixed set of labelled stops. diff --git a/Sources/LyrebirdShoeGaze/PedalSlider.swift b/Sources/LyrebirdShoeGaze/PedalSlider.swift index bb7fdad..1162132 100644 --- a/Sources/LyrebirdShoeGaze/PedalSlider.swift +++ b/Sources/LyrebirdShoeGaze/PedalSlider.swift @@ -4,6 +4,7 @@ // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT +import LyrebirdSynth import LyrebirdUI /// A UI-agnostic description of one continuous vertical pedal fader. diff --git a/Sources/LyrebirdShoeGaze/PedalSwitch.swift b/Sources/LyrebirdShoeGaze/PedalSwitch.swift index 527711c..c085ee6 100644 --- a/Sources/LyrebirdShoeGaze/PedalSwitch.swift +++ b/Sources/LyrebirdShoeGaze/PedalSwitch.swift @@ -4,6 +4,7 @@ // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT +import LyrebirdSynth import LyrebirdUI /// A UI-agnostic description of one multi-position pedal switch. diff --git a/Sources/LyrebirdShoeGaze/Tempo/TempoSyncableParam.swift b/Sources/LyrebirdShoeGaze/Tempo/TempoSyncableParam.swift index 56d4f96..08ac73a 100644 --- a/Sources/LyrebirdShoeGaze/Tempo/TempoSyncableParam.swift +++ b/Sources/LyrebirdShoeGaze/Tempo/TempoSyncableParam.swift @@ -4,6 +4,7 @@ // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT +import LyrebirdSynth import LyrebirdUI /// Descriptor for one pedal parameter that can be locked to the tempo. diff --git a/Sources/LyrebirdShoeGazeUI/BoardBarView.swift b/Sources/LyrebirdShoeGazeUI/BoardBarView.swift index 472cc48..7c06ba2 100644 --- a/Sources/LyrebirdShoeGazeUI/BoardBarView.swift +++ b/Sources/LyrebirdShoeGazeUI/BoardBarView.swift @@ -7,6 +7,7 @@ import SwiftUI import LyrebirdUI import LyrebirdShoeGaze +import LyrebirdSynth /// A horizontal board-mixer strip for switching between, or blending, multiple `PedalBoard`s. /// diff --git a/Sources/LyrebirdShoeGazeUI/BoardsSheetView.swift b/Sources/LyrebirdShoeGazeUI/BoardsSheetView.swift index 4f8e99c..afcf4a4 100644 --- a/Sources/LyrebirdShoeGazeUI/BoardsSheetView.swift +++ b/Sources/LyrebirdShoeGazeUI/BoardsSheetView.swift @@ -7,6 +7,7 @@ import SwiftUI import LyrebirdUI import LyrebirdShoeGaze +import LyrebirdSynth /// A full board manager presented as a sheet — the richer companion to the inline /// ``BoardBarView``. diff --git a/Sources/LyrebirdShoeGazeUI/ChainRouterView.swift b/Sources/LyrebirdShoeGazeUI/ChainRouterView.swift index ae33236..bc1cc31 100644 --- a/Sources/LyrebirdShoeGazeUI/ChainRouterView.swift +++ b/Sources/LyrebirdShoeGazeUI/ChainRouterView.swift @@ -7,6 +7,7 @@ import SwiftUI import LyrebirdUI import LyrebirdShoeGaze +import LyrebirdSynth /// Renders a ``ChainRouter`` as a vertical stack with transport controls, two labelled /// board rows, and a merger + optional master-gain output stage. diff --git a/Sources/LyrebirdShoeGazeUI/MergerView.swift b/Sources/LyrebirdShoeGazeUI/MergerView.swift index 85af12a..dbf7983 100644 --- a/Sources/LyrebirdShoeGazeUI/MergerView.swift +++ b/Sources/LyrebirdShoeGazeUI/MergerView.swift @@ -5,6 +5,7 @@ // SPDX-License-Identifier: MIT import SwiftUI +import LyrebirdSynth import LyrebirdUI import LyrebirdShoeGaze diff --git a/Sources/LyrebirdShoeGazeUI/PedalBoardView.swift b/Sources/LyrebirdShoeGazeUI/PedalBoardView.swift index fd99c8b..602122c 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalBoardView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalBoardView.swift @@ -7,6 +7,7 @@ import SwiftUI import LyrebirdUI import LyrebirdShoeGaze +import LyrebirdSynth /// A horizontal scrolling strip of ``PedalView`` cards, one per pedal in a `PedalBoard`. /// diff --git a/Sources/LyrebirdShoeGazeUI/PedalButtonView.swift b/Sources/LyrebirdShoeGazeUI/PedalButtonView.swift index 2a558bf..dbe9c1b 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalButtonView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalButtonView.swift @@ -7,6 +7,7 @@ import SwiftUI import LyrebirdUI import LyrebirdShoeGaze +import LyrebirdSynth // MARK: - PedalButtonView diff --git a/Sources/LyrebirdShoeGazeUI/PedalRebuildEnvironment.swift b/Sources/LyrebirdShoeGazeUI/PedalRebuildEnvironment.swift index 6a91a84..1088ff0 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalRebuildEnvironment.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalRebuildEnvironment.swift @@ -5,6 +5,7 @@ // SPDX-License-Identifier: MIT import SwiftUI +import LyrebirdSynth import LyrebirdShoeGaze /// Environment action a leaf pedal control can call to ask the host to rebuild the board that diff --git a/Sources/LyrebirdShoeGazeUI/PedalSwitchView.swift b/Sources/LyrebirdShoeGazeUI/PedalSwitchView.swift index 1b24e7f..12e44b5 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalSwitchView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalSwitchView.swift @@ -5,6 +5,7 @@ // SPDX-License-Identifier: MIT import SwiftUI +import LyrebirdSynth import LyrebirdUI import LyrebirdShoeGaze diff --git a/Sources/LyrebirdShoeGazeUI/PedalView.swift b/Sources/LyrebirdShoeGazeUI/PedalView.swift index 43940cd..191385c 100644 --- a/Sources/LyrebirdShoeGazeUI/PedalView.swift +++ b/Sources/LyrebirdShoeGazeUI/PedalView.swift @@ -8,6 +8,7 @@ import SwiftUI import UniformTypeIdentifiers import LyrebirdUI import LyrebirdShoeGaze +import LyrebirdSynth // MARK: - Accent-color mapping (UI-only, never in the core target) diff --git a/Sources/LyrebirdShoeGazeUI/SplitterView.swift b/Sources/LyrebirdShoeGazeUI/SplitterView.swift index 2078fe7..7f5c4e2 100644 --- a/Sources/LyrebirdShoeGazeUI/SplitterView.swift +++ b/Sources/LyrebirdShoeGazeUI/SplitterView.swift @@ -5,6 +5,7 @@ // SPDX-License-Identifier: MIT import SwiftUI +import LyrebirdSynth import LyrebirdUI import LyrebirdShoeGaze diff --git a/Sources/LyrebirdShoeGazeUI/VerticalParameterSlider.swift b/Sources/LyrebirdShoeGazeUI/VerticalParameterSlider.swift index 3918d71..386665a 100644 --- a/Sources/LyrebirdShoeGazeUI/VerticalParameterSlider.swift +++ b/Sources/LyrebirdShoeGazeUI/VerticalParameterSlider.swift @@ -6,6 +6,7 @@ import SwiftUI import LyrebirdUI +import LyrebirdSynth /// A vertical fader bound to a single ``UIParamNode``. ///