Skip to content

Commit

Permalink
Update Package.swift and define dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
okhan-okbay-cko committed Mar 26, 2024
1 parent 4841cee commit ea0120f
Showing 1 changed file with 53 additions and 53 deletions.
106 changes: 53 additions & 53 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,57 @@
import PackageDescription

let package = Package(
name: "CheckoutCardManagement-iOS",
platforms: [
.iOS(.v12),
],
products: [
.library(
name: "CheckoutCardManagement",
targets: ["CheckoutCardManagement"]),
.library(
name: "CheckoutCardManagementStub",
targets: ["CheckoutCardManagementStub"]),
.library(
name: "CheckoutOOBSDK",
targets: ["CheckoutOOBSDK"])
],
dependencies: [
.package(
url: "https://github.com/checkout/checkout-event-logger-ios-framework.git",
exact: "1.2.4"),
.package(
url: "https://github.com/checkout/NetworkClient-iOS.git",
exact: "1.1.1"),
.package(
url: "https://github.com/Kitura/Swift-JWT.git",
exact: "4.0.1")
],
targets: [
.target(
name: "CheckoutCardManagement",
dependencies: [
.product(
name: "CheckoutEventLoggerKit",
package: "checkout-event-logger-ios-framework"),
"CheckoutCardNetwork",
]),
.target(
name: "CheckoutCardManagementStub",
dependencies: [
.product(
name: "CheckoutEventLoggerKit",
package: "checkout-event-logger-ios-framework"),
"CheckoutCardNetworkStub",
]),
.binaryTarget(
name: "CheckoutCardNetwork",
path: "SupportFrameworks/CheckoutCardNetwork.xcframework"),
.binaryTarget(
name: "CheckoutCardNetworkStub",
path: "SupportFrameworks/CheckoutCardNetworkStub.xcframework"),
.binaryTarget(
name: "CheckoutOOBSDK",
path: "SupportFrameworks/CheckoutOOBSDK.xcframework"),
]
name: "CheckoutCardManagement-iOS",
platforms: [
.iOS(.v12),
],
products: [
.library(
name: "CheckoutCardManagement",
targets: ["CheckoutCardManagement", "CheckoutCardManagementStub"]),
.library(
name: "CheckoutOOBSDK",
targets: ["CheckoutOOBSDK"]),
],
dependencies: [
.package(
url: "https://github.com/checkout/checkout-event-logger-ios-framework.git",
exact: "1.2.4"),
.package(
url: "https://github.com/checkout/NetworkClient-iOS.git",
exact: "1.1.1"),
.package(
url: "https://github.com/Kitura/Swift-JWT.git",
exact: "4.0.1")
],
targets: [
.target(
name: "CheckoutCardManagement",
dependencies: [
.product(name: "CheckoutNetwork",
package: "NetworkClient-iOS"),
.product(name: "SwiftJWT",
package: "Swift-JWT"),
.product(name: "CheckoutEventLoggerKit",
package: "checkout-event-logger-ios-framework"),
"CheckoutCardNetwork",
]),
.target(
name: "CheckoutCardManagementStub",
dependencies: [
.product(
name: "CheckoutEventLoggerKit",
package: "checkout-event-logger-ios-framework"),
"CheckoutCardNetworkStub",
]),
.binaryTarget(
name: "CheckoutCardNetwork",
path: "SupportFrameworks/CheckoutCardNetwork.xcframework"),
.binaryTarget(
name: "CheckoutCardNetworkStub",
path: "SupportFrameworks/CheckoutCardNetworkStub.xcframework"),
.binaryTarget(
name: "CheckoutOOBSDK",
path: "SupportFrameworks/CheckoutOOBSDK.xcframework"),
]
)

0 comments on commit ea0120f

Please sign in to comment.