From 0ce3552e340daccb7b56cb558c87fbf4c933b056 Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:18:28 -0400 Subject: [PATCH 1/2] chore: bump the amplify package version --- Package.resolved | 12 ++++++------ Package.swift | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Package.resolved b/Package.resolved index 8237d758..e9515eee 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/aws-amplify/amplify-swift", "state" : { - "revision" : "6c73bf77e8df9634b311de325927610188261ab4", - "version" : "2.33.6" + "revision" : "dbc4a0412f4b5cd96f3e756e78bbd1e8e0a35a2f", + "version" : "2.35.4" } }, { @@ -50,8 +50,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/stephencelis/SQLite.swift.git", "state" : { - "revision" : "e78ae0220e17525a15ac68c697a155eb7a672a8e", - "version" : "0.15.0" + "revision" : "a95fc6df17d108bd99210db5e8a9bac90fe984b8", + "version" : "0.15.3" } }, { @@ -59,8 +59,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-log.git", "state" : { - "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5", - "version" : "1.5.4" + "revision" : "9cb486020ebf03bfa5b5df985387a14a98744537", + "version" : "1.6.1" } } ], diff --git a/Package.swift b/Package.swift index 0d83a66a..ee5353c6 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["FaceLiveness"]), ], dependencies: [ - .package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.33.6") + .package(url: "https://github.com/aws-amplify/amplify-swift", exact: "2.35.4") ], targets: [ .target( From 154daf5a43d467c4258d5924ae0baf5730f7f359 Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:35:45 -0400 Subject: [PATCH 2/2] fix the build error --- Sources/FaceLiveness/Utilities/UserAgent.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/FaceLiveness/Utilities/UserAgent.swift b/Sources/FaceLiveness/Utilities/UserAgent.swift index eddad6f1..5cf3a3e7 100644 --- a/Sources/FaceLiveness/Utilities/UserAgent.swift +++ b/Sources/FaceLiveness/Utilities/UserAgent.swift @@ -6,7 +6,7 @@ // import UIKit -import AWSPluginsCore +import InternalAmplifyCredentials struct UserAgentValues { @@ -55,7 +55,7 @@ struct UserAgentValues { static func standard(additionalMetadata: KeyValuePairs = [:]) -> Self { return .init( - amplifyVersion: AWSPluginsCore.AmplifyAWSServiceConfiguration.amplifyVersion, + amplifyVersion: AmplifyAWSServiceConfiguration.amplifyVersion, os: UIDevice.current.systemName.replacingOccurrences(of: " ", with: "-"), osVersion: UIDevice.current.systemVersion, swiftVersion: Swift().version(),