fix(m9): link ICCeryCore statically so the app launches standalone (#117) #118
@@ -5,7 +5,10 @@ let package = Package(
|
|||||||
name: "ICCeryCore",
|
name: "ICCeryCore",
|
||||||
platforms: [.macOS(.v12)],
|
platforms: [.macOS(.v12)],
|
||||||
products: [
|
products: [
|
||||||
.library(name: "ICCeryCore", targets: ["ICCeryCore"]),
|
// Static so app + test bundles each link ICCeryCore directly —
|
||||||
|
// a dynamic package product framework is not embedded in the
|
||||||
|
// .app and dyld kills the app at launch on macOS 12 (#117).
|
||||||
|
.library(name: "ICCeryCore", type: .static, targets: ["ICCeryCore"]),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(name: "ICCeryCore"),
|
.target(name: "ICCeryCore"),
|
||||||
|
|||||||
Reference in New Issue
Block a user