From a61b217ce8dd43f42e1f62648b7d6932733fbade Mon Sep 17 00:00:00 2001 From: Toomas Vahter Date: Mon, 22 Sep 2025 16:16:25 +0300 Subject: [PATCH] Turn off library evolution because we distribute it as Swift package --- Package.swift | 10 ++-------- StreamCore.xcodeproj/project.pbxproj | 4 ---- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/Package.swift b/Package.swift index 007efc5..a91a61a 100644 --- a/Package.swift +++ b/Package.swift @@ -19,17 +19,11 @@ let package = Package( ], targets: [ .target( - name: "StreamCore", - swiftSettings: [ - .unsafeFlags(["-enable-library-evolution"]) - ] + name: "StreamCore" ), .target( name: "StreamCoreUI", - dependencies: ["StreamCore"], - swiftSettings: [ - .unsafeFlags(["-enable-library-evolution"]) - ] + dependencies: ["StreamCore"] ), .testTarget( name: "StreamCoreTests", diff --git a/StreamCore.xcodeproj/project.pbxproj b/StreamCore.xcodeproj/project.pbxproj index 01a7a14..3ae55ef 100644 --- a/StreamCore.xcodeproj/project.pbxproj +++ b/StreamCore.xcodeproj/project.pbxproj @@ -411,7 +411,6 @@ 8415DA0F2E462E9F00FEE25F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -445,7 +444,6 @@ 8415DA102E462E9F00FEE25F /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -514,7 +512,6 @@ 845495322DBA3A1400211413 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -548,7 +545,6 @@ 845495332DBA3A1400211413 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1;