Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.
This repository was archived by the owner on May 19, 2021. It is now read-only.

iOS Sample App - unrecognized selector - AWSSignatureV4Signer #25

@fishhelper

Description

@fishhelper

With the iOS sample app, AWSSignatureV4Signer does not have a method signerWithCredentialsProvider, so the code will not compile with the latest dependencies.

The suspect line of code is 117 of PETLambdaMicroserviceClient.m:

        AWSSignatureV4Signer *signer = [AWSSignatureV4Signer signerWithCredentialsProvider:_configuration.credentialsProvider
                                                                                  endpoint:_configuration.endpoint];

Changing the signer to v2 does not fix the code - API Gateway requests requiring AWS_IAM do not succeed. The Xcode console reports

2017-01-11 18:09:54.934 PetTest[14093:751826] -[PETCredentials continueWithSuccessBlock:]: unrecognized selector sent to instance 0x618000424280

The unauthenticated AWS_IAM request for registering a user works, so connectivity is established new users are registered with the login screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions