Hello guys, i'm in the proccess to develop app with kmm and my app need to use aws amplify library, i have done the integrating for the android version and now i'm stuck in integrating aws amplify library with ios, i use the cocoapods integration, if i'm only import pod with just amplify, it finish pod install with success, but when i try to add pod for awscognitoauthplugin it always error on and it says i need to set swift version attribute, can someone help me to tell how to set the swift_version attribute on build gradle file?
Here's the error message.
Executing of 'pod install' failed with code 1 and message:
Analyzing dependencies
Downloading dependencies
Installing AWSAuthCore (2.29.1)
Installing AWSCognitoIdentityProvider (2.29.1)
Installing AWSCognitoIdentityProviderASF (2.29.1)
Installing AWSCore (2.29.1)
Installing AWSMobileClient (2.29.1)
Installing AWSPluginsCore (1.28.4)
Installing AmplifyPlugins (1.28.4)
[!] Unable to determine Swift version for the following pods:
`-
AWSMobileClient
does not specify a Swift version and none of the targets (
ios
) integrating it have the
SWIFT_VERSION
attribute set. Please contact the author or set the
SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.`