Static consumer product + internal dynamic for LiveCompile
The Lyrebird product was forced type: .dynamic, forcing an SPM dynamic framework on consumers and hitting the Xcode 26 regression (PackageFrameworks/Lyrebird.framework binary missing). Split into two products vending the same LyrebirdSynth target: • Lyrebird (automatic → static): consumer-facing, no framework, no workarounds. • LyrebirdDynamic (.dynamic): internal-only, consumed by LiveCompile. LiveCompile repointed to LyrebirdDynamic with linker refs updated (libLyrebirdDynamic.dylib). README + GettingStarted updated: consumers link static and need no disable-library-validation entitlement or driver override. Verified: core + LiveCompile (34/34) build/test clean; external consumer links the static product with no dynamic dylib. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -37,7 +37,7 @@ let package = Package(
|
||||
.target(
|
||||
name: "LyrebirdLiveCompile",
|
||||
dependencies: [
|
||||
.product(name: "Lyrebird", package: "Lyrebird"),
|
||||
.product(name: "LyrebirdDynamic", package: "Lyrebird"),
|
||||
],
|
||||
path: "Sources/LyrebirdLiveCompile"
|
||||
),
|
||||
@@ -45,7 +45,7 @@ let package = Package(
|
||||
name: "LyrebirdLiveCompileUI",
|
||||
dependencies: [
|
||||
"LyrebirdLiveCompile",
|
||||
.product(name: "Lyrebird", package: "Lyrebird"),
|
||||
.product(name: "LyrebirdDynamic", package: "Lyrebird"),
|
||||
],
|
||||
path: "Sources/LyrebirdLiveCompileUI",
|
||||
swiftSettings: [.swiftLanguageMode(.v5)]
|
||||
@@ -54,7 +54,7 @@ let package = Package(
|
||||
name: "LyrebirdLiveCompileTests",
|
||||
dependencies: [
|
||||
"LyrebirdLiveCompile",
|
||||
.product(name: "Lyrebird", package: "Lyrebird"),
|
||||
.product(name: "LyrebirdDynamic", package: "Lyrebird"),
|
||||
],
|
||||
path: "Tests/LyrebirdLiveCompileTests"
|
||||
),
|
||||
@@ -63,7 +63,7 @@ let package = Package(
|
||||
dependencies: [
|
||||
"LyrebirdLiveCompile",
|
||||
"LyrebirdLiveCompileUI",
|
||||
.product(name: "Lyrebird", package: "Lyrebird"),
|
||||
.product(name: "LyrebirdDynamic", package: "Lyrebird"),
|
||||
],
|
||||
path: "Tests/LyrebirdLiveCompileUITests",
|
||||
swiftSettings: [.swiftLanguageMode(.v5)]
|
||||
|
||||
Reference in New Issue
Block a user