From 417a3122717d42ac8af5488ffe0694a410714790 Mon Sep 17 00:00:00 2001 From: Niall Quinn Date: Thu, 28 Nov 2024 11:51:52 +0100 Subject: [PATCH] Git push origin nq/klarna_3ds_package --- Package.swift | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Package.swift b/Package.swift index d03282df7..3743ac5a9 100644 --- a/Package.swift +++ b/Package.swift @@ -6,42 +6,44 @@ let package = Package( name: "PrimerSDK", defaultLocalization: "en", platforms: [ - .iOS("13.1") + .iOS("13.1"), ], products: [ .library( name: "PrimerSDK", targets: ["PrimerSDK"] - ) + ), ], dependencies: [ - .package(url: "https://github.com/primer-io/primer-sdk-3ds-ios", from: "2.4.1") + .package(url: "https://github.com/primer-io/primer-sdk-3ds-ios", from: "2.4.1"), + .package(url: "https://github.com/primer-io/primer-klarna-sdk-ios", from: "1.1.2"), ], targets: [ .target( name: "PrimerSDK", dependencies: [ - .product(name: "Primer3DS", package: "primer-sdk-3ds-ios") + .product(name: "Primer3DS", package: "primer-sdk-3ds-ios"), + .product(name: "PrimerKlarnaSDK", package: "primer-klarna-sdk-ios"), ], path: "Sources/PrimerSDK", resources: [ .process("Resources"), - .copy("Classes/Third Party/PromiseKit/LICENSE") + .copy("Classes/Third Party/PromiseKit/LICENSE"), ] ), .testTarget( name: "Tests", dependencies: [ .product(name: "Primer3DS", package: "primer-sdk-3ds-ios"), - .byName(name: "PrimerSDK") + .byName(name: "PrimerSDK"), ], path: "Tests/", sources: [ "3DS/", "Utilities/", - "Primer/" + "Primer/", ] - ) + ), ], swiftLanguageVersions: [.v5] )