Reza Muttaqien
01/05/2023, 7:55 AMExecuting 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.`Kamil Kalisz
01/05/2023, 1:59 PMpod install
again and it will be solved.a-dd
01/05/2023, 2:24 PMKamil Kalisz
01/05/2023, 2:27 PMa-dd
01/05/2023, 2:38 PMspec.swift_version
).
To make it work you can add ENV['SWIFT_VERSION'] = '5'
to generated Podfile but current way to do it is very ugly (see https://youtrack.jetbrains.com/issue/KT-54161/Support-adding-extra-code-to-generated-Podfile-from-the-Kotlin-gradle-plugin).
Or you can try to fork podspec repo to modify this podspec manually, but I haven’t tried this myself so don’t know how feasible it is.Blaž Vantur
09/27/2023, 1:14 PMa-dd
10/02/2023, 11:40 AMBlaž Vantur
10/02/2023, 11:48 AM