From 22ad5db56f1f151fed8aaabf790993e66112681a Mon Sep 17 00:00:00 2001 From: Sanjay Narayana Date: Tue, 12 Nov 2024 11:35:32 +1100 Subject: [PATCH] PLA-7897: upgrade to xcode 16 --- Package.swift | 68 +++++++++---------- .../ViewModels/ContentViewModel.swift | 4 +- .../project.pbxproj | 2 + 3 files changed, 38 insertions(+), 36 deletions(-) diff --git a/Package.swift b/Package.swift index 39d6b34..f070392 100644 --- a/Package.swift +++ b/Package.swift @@ -43,55 +43,55 @@ let package = Package( ] ), .binaryTarget(name: "TyroTapToPaySDK", - url: "https://tap-to-pay.connect.tyro.com/tyro/0.17.1/TyroTapToPaySDK.xcframework.zip", - checksum: "7528a5c68048edbf5d90444e28d2c610a54b8785c6500135f3478fa9b39fdfce"), + url: "https://tap-to-pay.connect.tyro.com/tyro/0.18.0/TyroTapToPaySDK.xcframework.zip", + checksum: "851247783372c041c6cc4a7c1e03ceea2dafaa162a0f0946f7ff6080b10c356c"), .binaryTarget(name: "MobileConfiguration", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileConfiguration.xcframework.zip", - checksum: "60e8d21797cf534875ba31416bb96744b470b69d37c72656e8b432273cffc124"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileConfiguration.xcframework.zip", + checksum: "534ca37dd83f03b34cd66393b5011c7b9f307fd8dea6fdb2f074bbdc0269e33f"), .binaryTarget(name: "MobileHttp", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileHttp.xcframework.zip", - checksum: "766922cbb5fa1a203bfa9ec81686bb27eca03acfb33365be65f57efd55fbfe38"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileHttp.xcframework.zip", + checksum: "7298b1b4616d02292deb32914a39962ae1ef28a14855ebe5b1d83ee9fb8b89bf"), .binaryTarget(name: "MobileMPOSCoreV2", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileMPOSCoreV2.xcframework.zip", - checksum: "550191b56e74f87f3a66d5d860bf08ef9a3c43238dbac1ef7e69ed13bdec5896"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileMPOSCoreV2.xcframework.zip", + checksum: "d3234cc4a6ba1470777070785cb2ce219130b6f140ba9123ce7e8a37d6dbc81e"), .binaryTarget(name: "MobileMPOSSDK", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileMPOSSDK.xcframework.zip", - checksum: "cd2d470d9e6e0350c70175f18d4a6a0a5e481d654e09391a9ea8da3ac6a65083"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileMPOSSDK.xcframework.zip", + checksum: "191f8b1207d548757f0f422e2060fa8f8de413ccaed5bceeeb722ac8ff19c19d"), .binaryTarget(name: "MobileMessageProcess", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileMessageProcess.xcframework.zip", - checksum: "766df1d16ff324c6da0fcbb4cce518bf35b6c3a34432d0f14227c392b3d6436e"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileMessageProcess.xcframework.zip", + checksum: "15f79be9c51a83f4e6242b908d9669897a9b44fee234c08042f306bfec77de91"), .binaryTarget(name: "MobilePOGEngine", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobilePOGEngine.xcframework.zip", - checksum: "7b6eebf88a030114298e0de0db600cbe4d3007a919793f452ae22f159a9e2662"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobilePOGEngine.xcframework.zip", + checksum: "e48a209a2d6b88221e3f3509e97dcfa6bfbe139a5f31dc01bece514ffd6b8890"), .binaryTarget(name: "MobileProximityReaderSDK", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileProximityReaderSDK.xcframework.zip", - checksum: "7b56d0433ca4b2b4b2205beb74f9e9562868332137b7a26aa2b6fc054a9a9303"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileProximityReaderSDK.xcframework.zip", + checksum: "17046328bd6521ca19cf57ab22af1e037df90238885bf94eec1ccb18362fd95e"), .binaryTarget(name: "MobileReaderSPOC", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileReaderSPOC.xcframework.zip", - checksum: "0ab1397dff2fc089f0d7fa6cc58491e540715267cb4301e8c0cb33026a7e3750"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileReaderSPOC.xcframework.zip", + checksum: "ad39faf6a221885def3d55ca70208ed8d53f883ab6f6a1a2c199eb7328544151"), .binaryTarget(name: "MobileSecurity", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileSecurity.xcframework.zip", - checksum: "326ea8311a30d73fd134974045b7fa1ffb275b09b01846595ad480de0f16a59d"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileSecurity.xcframework.zip", + checksum: "24517288ed7baa84273b35b0b803226d71d65fe8ffc082aefed70e28855c914e"), .binaryTarget(name: "MobileService", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileService.xcframework.zip", - checksum: "18142549c8d3033b4d942401302d0e59fb990b7944c7a166b703d33c3e852000"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileService.xcframework.zip", + checksum: "2bfa0ba8cba38baa70c62ff68920726edfc5d474970101943e713de6f748537c"), .binaryTarget(name: "MobileThirdPartyIntegration", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileThirdPartyIntegration.xcframework.zip", - checksum: "6e0d466669cb0af57fb2f51d750824f049c4845532ba628bde673a7ce4751d93"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileThirdPartyIntegration.xcframework.zip", + checksum: "bea117193fa41870d730b6363e45a0d4270eb291b674c4f94616fc2e0a47afe2"), .binaryTarget(name: "MobileUIKit", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileUIKit.xcframework.zip", - checksum: "a3aa00957eff3949340714d03855191f5192a7affb624dba8ea40011217c87f5"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileUIKit.xcframework.zip", + checksum: "94d38ec67531aa525e146fe1f1f21b109faf28944153d9a62e26b4f84a4ae06d"), .binaryTarget(name: "MobileUtils", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/SSMobileUtils.xcframework.zip", - checksum: "119205ba6dcbad171e985878d34d09ae708e40b8df1d24cbbb613c3129f9849d"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/SSMobileUtils.xcframework.zip", + checksum: "7a5ab5c72dfb4e30b80b82b1cbad4db1a70113112128af21d8fb06f3e5515673"), .binaryTarget(name: "Shared", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/Shared.xcframework.zip", - checksum: "169b28e9e9c5296116eae371ed7d7571637f20affb7b2c531ab2343d7b83c488"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/Shared.xcframework.zip", + checksum: "46bf2c6516db2cfb25441032da16127ebf6e51fc534ff7e27d5f4b91924d3668"), .binaryTarget(name: "TrustKit", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/TrustKit.xcframework.zip", - checksum: "94d2df7bb846fbde237592e7947793b4a135a7086e7af404a757a4bd13a7b424"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/TrustKit.xcframework.zip", + checksum: "621b222871f557a680cb0ce122995531f19b336d0cc03e0207685f58d663b5dc"), .binaryTarget(name: "VisaSensoryBranding", - url: "https://tap-to-pay.connect.tyro.com/ss/1.0.10.0/VisaSensoryBranding.xcframework.zip", - checksum: "97ff7f0c2722d5a8e189954e0d03a3d038daba096c4a28307b226ebd9b9f3734"), + url: "https://tap-to-pay.connect.tyro.com/ss/1.0.11.0/VisaSensoryBranding.xcframework.zip", + checksum: "c33db185c1771ba3da1ae0ab11c20995548cdcd0c4393a80dbbce0b62d4521dd"), ] ) diff --git a/SampleApp/SampleApp/ViewModels/ContentViewModel.swift b/SampleApp/SampleApp/ViewModels/ContentViewModel.swift index f9a7780..33e8c66 100644 --- a/SampleApp/SampleApp/ViewModels/ContentViewModel.swift +++ b/SampleApp/SampleApp/ViewModels/ContentViewModel.swift @@ -98,8 +98,8 @@ class ContentViewModel: ObservableObject { : try await self.tapToPaySdk.refundPayment(transactionDetail: transactionDetail) self.state = .success(outcome) self.transactionOutcome = outcome - } catch TapToPaySDKError.failedToVerifyConnection { - self.state = .error("failedToVerifyConnection") + } catch TapToPaySDKError.failedToVerifyConnection(let error) { + self.state = .error("failedToVerifyConnection: \(error)") } catch TapToPaySDKError.transactionError(let errorMessage) { self.state = .error("transactionError: \(errorMessage)") } catch TapToPaySDKError.unableToConnectReader(let errorMessage) { diff --git a/SampleApp/Tyro Embedded Sample App.xcodeproj/project.pbxproj b/SampleApp/Tyro Embedded Sample App.xcodeproj/project.pbxproj index a0c81a7..ef93570 100644 --- a/SampleApp/Tyro Embedded Sample App.xcodeproj/project.pbxproj +++ b/SampleApp/Tyro Embedded Sample App.xcodeproj/project.pbxproj @@ -313,6 +313,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; @@ -368,6 +369,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES;