Skip to content

Commit

Permalink
Update Package.swift file to include OOB SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
okhan-okbay-cko committed Mar 26, 2024
1 parent 7247ada commit 753b752
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 30 deletions.
13 changes: 11 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@ let package = Package(
.library(
name: "CheckoutCardManagementStub",
targets: ["CheckoutCardManagementStub"]),
.library(
name: "CheckoutOOBSDK",
targets: ["CheckoutOOBSDK"])
],
dependencies: [
.package(
url: "https://github.com/checkout/checkout-event-logger-ios-framework",
from: "1.2.1"),
url: "https://github.com/checkout/checkout-event-logger-ios-framework.git",
from: "1.2.4"),
.package(
url: "https://github.com/checkout/NetworkClient-iOS.git",
from: "1.1.1"),
],
targets: [
.target(
Expand All @@ -44,5 +50,8 @@ let package = Package(
.binaryTarget(
name: "CheckoutCardNetworkStub",
path: "SupportFrameworks/CheckoutCardNetworkStub.xcframework"),
.binaryTarget(
name: "CheckoutOOBSDK",
path: "SupportFrameworks/CheckoutOOBSDK.xcframework"),
]
)
39 changes: 11 additions & 28 deletions Sample Application/SampleApplication.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
0BBC8C9229FBC509002AA8FB /* CardListViewModel+LayoutCalculations.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0BBC8C9129FBC508002AA8FB /* CardListViewModel+LayoutCalculations.swift */; };
16262FDA29D477D500C60EA4 /* DesignSystem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16262FD929D477D500C60EA4 /* DesignSystem.swift */; };
16262FDC29D4963400C60EA4 /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16262FDB29D4963400C60EA4 /* Credentials.swift */; };
162749172BB33A2600984219 /* CheckoutNetwork in Frameworks */ = {isa = PBXBuildFile; productRef = 162749162BB33A2600984219 /* CheckoutNetwork */; };
164129BE29DAB9D900BA3848 /* AuthenticationRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = 164129BD29DAB9D900BA3848 /* AuthenticationRecord.swift */; };
1658CCB029D2ED6D000AB6F6 /* SpinningCircleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1658CC9629D2ED6C000AB6F6 /* SpinningCircleView.swift */; };
1658CCB129D2ED6D000AB6F6 /* LockView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1658CC9729D2ED6C000AB6F6 /* LockView.swift */; };
Expand All @@ -28,8 +29,6 @@
16725FD42A1CCE9E00910DC5 /* Authenticator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16725FD32A1CCE9E00910DC5 /* Authenticator.swift */; };
16725FD62A1CD83200910DC5 /* NetworkEndpoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16725FD52A1CD83200910DC5 /* NetworkEndpoint.swift */; };
16925A542A1FA96200C44AAF /* AuthenticationValidator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16925A532A1FA96200C44AAF /* AuthenticationValidator.swift */; };
16D74E5C2A27AE4B005F2157 /* CheckoutNetwork in Frameworks */ = {isa = PBXBuildFile; productRef = 16D74E5B2A27AE4B005F2157 /* CheckoutNetwork */; };
16D74E5F2A27AE67005F2157 /* CheckoutCardManagementStub in Frameworks */ = {isa = PBXBuildFile; productRef = 16D74E5E2A27AE67005F2157 /* CheckoutCardManagementStub */; };
16F7C87929C22A9000ECB801 /* SampleApplicationApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16F7C87829C22A9000ECB801 /* SampleApplicationApp.swift */; };
16F7C87D29C22A9200ECB801 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 16F7C87C29C22A9200ECB801 /* Assets.xcassets */; };
16F7C89529C22A9200ECB801 /* SampleApplicationUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16F7C89429C22A9200ECB801 /* SampleApplicationUITests.swift */; };
Expand Down Expand Up @@ -101,8 +100,7 @@
buildActionMask = 2147483647;
files = (
16F7C8A829C22BA200ECB801 /* SwiftJWT in Frameworks */,
16D74E5C2A27AE4B005F2157 /* CheckoutNetwork in Frameworks */,
16D74E5F2A27AE67005F2157 /* CheckoutCardManagementStub in Frameworks */,
162749172BB33A2600984219 /* CheckoutNetwork in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -288,8 +286,7 @@
name = SampleApplication;
packageProductDependencies = (
16F7C8A729C22BA200ECB801 /* SwiftJWT */,
16D74E5B2A27AE4B005F2157 /* CheckoutNetwork */,
16D74E5E2A27AE67005F2157 /* CheckoutCardManagementStub */,
162749162BB33A2600984219 /* CheckoutNetwork */,
);
productName = SampleApplication;
productReference = 16F7C87529C22A9000ECB801 /* SampleApplication.app */;
Expand Down Expand Up @@ -343,8 +340,7 @@
mainGroup = 16F7C86C29C22A9000ECB801;
packageReferences = (
16F7C8A629C22BA200ECB801 /* XCRemoteSwiftPackageReference "Swift-JWT" */,
16F7C8A929C22BF500ECB801 /* XCRemoteSwiftPackageReference "NetworkClient-iOS" */,
16D74E5D2A27AE67005F2157 /* XCRemoteSwiftPackageReference "CheckoutCardManagement-iOS" */,
162749152BB33A2600984219 /* XCRemoteSwiftPackageReference "NetworkClient-iOS" */,
);
productRefGroup = 16F7C87629C22A9000ECB801 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -711,43 +707,30 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
16D74E5D2A27AE67005F2157 /* XCRemoteSwiftPackageReference "CheckoutCardManagement-iOS" */ = {
162749152BB33A2600984219 /* XCRemoteSwiftPackageReference "NetworkClient-iOS" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "git@github.com:checkout/CheckoutCardManagement-iOS.git";
repositoryURL = "https://github.com/checkout/NetworkClient-iOS";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 1.0.0;
minimumVersion = 1.1.1;
};
};
16F7C8A629C22BA200ECB801 /* XCRemoteSwiftPackageReference "Swift-JWT" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Kitura/Swift-JWT.git";
requirement = {
branch = master;
kind = branch;
};
};
16F7C8A929C22BF500ECB801 /* XCRemoteSwiftPackageReference "NetworkClient-iOS" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "[email protected]:checkout/NetworkClient-iOS.git";
requirement = {
branch = main;
kind = branch;
kind = upToNextMajorVersion;
minimumVersion = 4.0.0;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
16D74E5B2A27AE4B005F2157 /* CheckoutNetwork */ = {
162749162BB33A2600984219 /* CheckoutNetwork */ = {
isa = XCSwiftPackageProductDependency;
package = 16F7C8A929C22BF500ECB801 /* XCRemoteSwiftPackageReference "NetworkClient-iOS" */;
package = 162749152BB33A2600984219 /* XCRemoteSwiftPackageReference "NetworkClient-iOS" */;
productName = CheckoutNetwork;
};
16D74E5E2A27AE67005F2157 /* CheckoutCardManagementStub */ = {
isa = XCSwiftPackageProductDependency;
package = 16D74E5D2A27AE67005F2157 /* XCRemoteSwiftPackageReference "CheckoutCardManagement-iOS" */;
productName = CheckoutCardManagementStub;
};
16F7C8A729C22BA200ECB801 /* SwiftJWT */ = {
isa = XCSwiftPackageProductDependency;
package = 16F7C8A629C22BA200ECB801 /* XCRemoteSwiftPackageReference "Swift-JWT" */;
Expand Down

0 comments on commit 753b752

Please sign in to comment.