aws-amplify/aws-sdk-ios

AWSMobileClient doesn't work with new swift

Li11leprince opened this issue · 4 comments

Which AWS Services is the feature request for?
I wanna use AWSModileClient for user authorization (Sign in with Apple) but when I injected the library to my project I got the next problem:
Failed to build module 'AWSMobileClientXCF'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)', while this compiler is 'Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)'). Please select a toolchain which matches the SDK.
Can you please rebuild the project to the actual swift version?

Thanks for reporting this @Li11leprince. We'll provide updates here.

@Li11leprince how are you consuming AWSMobileClient - are you using SPM, CocoaPods, Carthage?

@atierian I have tried two ways: SPM and installed as a binary XCFramework. The same issue

Can you please try the latest version, currently 2.33.5. This should be resolved with that version. Thanks for your patience!