Skip to content

Commit c671d11

Browse files
Fix v0.19.5: Remove type: .static from library products to fix linker errors
type: .static on SPM library products prevents binary target linker flags from being forwarded to consuming apps, causing "Undefined symbol: _rac_*" errors when archiving. Reverting to automatic library type resolves this. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4e0ebc1 commit c671d11

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Package.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ let package = Package(
5252
products: [
5353
// =================================================================
5454
// Core SDK - always needed
55-
// Static to prevent SPM from embedding binary target stubs as dynamic frameworks
5655
// =================================================================
5756
.library(
5857
name: "RunAnywhere",
59-
type: .static,
6058
targets: ["RunAnywhere"]
6159
),
6260

@@ -65,7 +63,6 @@ let package = Package(
6563
// =================================================================
6664
.library(
6765
name: "RunAnywhereONNX",
68-
type: .static,
6966
targets: ["ONNXRuntime"]
7067
),
7168

@@ -74,7 +71,6 @@ let package = Package(
7471
// =================================================================
7572
.library(
7673
name: "RunAnywhereLlamaCPP",
77-
type: .static,
7874
targets: ["LlamaCPPRuntime"]
7975
),
8076

@@ -83,7 +79,6 @@ let package = Package(
8379
// =================================================================
8480
.library(
8581
name: "RunAnywhereWhisperKit",
86-
type: .static,
8782
targets: ["WhisperKitRuntime"]
8883
),
8984
],

0 commit comments

Comments
 (0)