From bec5c65dcb9eaeff83f93fa789a058011325ef3a Mon Sep 17 00:00:00 2001 From: Ross Savage Date: Tue, 16 Apr 2024 23:08:10 +0200 Subject: [PATCH] Merge Swift package sources into one BreezSDK target --- libs/sdk-bindings/bindings-swift/Package.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/sdk-bindings/bindings-swift/Package.swift b/libs/sdk-bindings/bindings-swift/Package.swift index 5b13af509..22b7907f9 100644 --- a/libs/sdk-bindings/bindings-swift/Package.swift +++ b/libs/sdk-bindings/bindings-swift/Package.swift @@ -10,12 +10,11 @@ let package = Package( .iOS(.v11), ], products: [ - .library(name: "BreezSDK", targets: ["breez_sdkFFI", "BreezSDK", "BreezSDKNotification"]), + .library(name: "BreezSDK", targets: ["breez_sdkFFI", "BreezSDK"]), ], targets: [ .binaryTarget(name: "breez_sdkFFI", path: "./breez_sdkFFI.xcframework"), - .target(name: "BreezSDK", dependencies: ["breez_sdkFFI"]), - .target(name: "BreezSDKNotification", dependencies: ["BreezSDK"]), + .target(name: "BreezSDK", dependencies: ["breez_sdkFFI"], sources: ["../BreezSDK", "../BreezSDKNotification"]), .testTarget(name: "BreezSDKTests", dependencies: ["BreezSDK"]), ] )