aws-amplify/aws-sdk-ios

Undefined symbols

cyopaulo opened this issue · 0 comments

Describe the bug
When I try to run the tests I got this issue

Screenshot 2023-10-05 at 12 55 12

To Reproduce
Steps to reproduce the behavior:

  1. Added the AWSCognitoAuthPlugin, AWSS3StoragePlugin
  2. Run the unit tests

Stack Trace

Showing Recent Errors Only

Build target AWSClientRuntime with configuration Debug

ld: Undefined symbols:
XMLCoder.XMLDecoder.__allocating_init(trimValueWhitespaces: Swift.Bool, removeWhitespaceElements: Swift.Bool) -> XMLCoder.XMLDecoder, referenced from:
AWSClientRuntime.Ec2QueryError.init(httpResponse: ClientRuntime.HttpResponse) throws -> AWSClientRuntime.Ec2QueryError in Ec2QueryError.o
AWSClientRuntime.RestXMLError.init(httpResponse: ClientRuntime.HttpResponse) throws -> AWSClientRuntime.RestXMLError in RestXMLError.o
AWSClientRuntime.RestXMLError.init(httpResponse: ClientRuntime.HttpResponse) throws -> AWSClientRuntime.RestXMLError in RestXMLError.o
type metadata accessor for XMLCoder.XMLDecoder, referenced from:
AWSClientRuntime.Ec2QueryError.init(httpResponse: ClientRuntime.HttpResponse) throws -> AWSClientRuntime.Ec2QueryError in Ec2QueryError.o
AWSClientRuntime.RestXMLError.init(httpResponse: ClientRuntime.HttpResponse) throws -> AWSClientRuntime.RestXMLError in RestXMLError.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Undefined symbols:

Linker command failed with exit code 1 (use -v to see invocation)

Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?
AWSMobileClient, Cognito

Environment(please complete the following information):

  • SDK Version: [e.g. 2.6.29]
  • Dependency Manager: SPM
  • Swift Version : 5.7
  • Xcode Version: 15

Device Information (please complete the following information):

  • Device: iPhone 13
  • iOS Version: 17.0