aws-sdk-ios
aws-sdk-ios copied to clipboard
Xcode 14

Up!
Hello, Could you please add detailed steps of reproduction for this issue and the use case you're trying to achieve. Also, please add information about the SDK version, Xcode version etc. so that it can help us in determining root cause.
This issue appears to be related to https://github.com/aws-amplify/aws-sdk-ios/issues/4283. Could you please try the option to link the frameworks statically as outlined in this comment. Let us know if you still have problems after trying this.
This issue appears to be related to #4283. Could you please try the option to link the frameworks statically as outlined in this comment. Let us know if you still have problems after trying this.
Hi,
I am having a similar issue after installing Xcode 14.
error build: Undefined symbol: _OBJC_CLASS_$_AWSCognitoIdentityProviderASF
but I cant find the podspec file as suggested in https://github.com/aws-amplify/aws-sdk-ios/issues/4283#issuecomment-1249773668 Should it be within the AWSCognitoIdentityProviderASF pod?
@kvnh
The usage of s.static_framework = true
in that linked comment applies to a cocoapod that has a dependency on one of the pods from the SDK. Can you try use_frameworks! :linkage => :static
in your podfile to see if that resolves your issue? [Podfile Syntax Reference]
Thanks @atierian
In this case I managed to resolve my issue by updating AWSMobileClient
from 2.12.0 to 2.17.0 and then updating the min deployment target to 13.
Great, thanks for letting us know.
@atierian Hi, do you think there is any way to do it without use_frameworks? Im trying to use cocoapods-user-defined-build-types
plugin but im not really sure what params to set. Im tried to set static_framework on pod which is using AWSCore but then compiler returned error that I cant do it bc of AWSCore..
I also set s.static_framework = true
but it didnt really help.