Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeclared selector 'startCustomAuthentication_v2' #2821

Closed
idrougge opened this issue Jul 2, 2020 · 9 comments
Closed

Undeclared selector 'startCustomAuthentication_v2' #2821

idrougge opened this issue Jul 2, 2020 · 9 comments
Labels
auth build Issues related to build problems and CI/CD question General question

Comments

@idrougge
Copy link

idrougge commented Jul 2, 2020

Describe the bug
AWSCognito leaks warnings into Xcode build log.

To Reproduce

  1. Install AWSCognitoIdentityProvider (2.14.0)
  2. Build.

Observed Behavior
Several semantic issues reported in cmd-5 pane in Xcode and CI build logs, most of them about Undeclared selector 'startCustomAuthentication_v2'.
There is also a warning about Unused variable 'userAttributes'.

Expected Behavior
No build warnings should surface from such a common dependency.

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

Screenshots
If applicable, add screenshots to help explain your problem.

Environment(please complete the following information):

  • SDK Version: 2.14.0
  • Dependency Manager: Cocoapods
  • Swift Version : 5.2
  • Xcode Version: 11.5

Device Information (please complete the following information):

  • Device: Simulator
  • iOS Version: iOS 13
  • Specific to simulators: No
@royjit royjit added the build Issues related to build problems and CI/CD label Jul 2, 2020
@idrougge
Copy link
Author

This is still present in SDK 2.15.2. It prevents building with "treat warnings as errors" enabled and diverts attention from issues in one's own source code.

@idrougge
Copy link
Author

idrougge commented Aug 31, 2020

Now there is also a deprecation warning leaking:
AWSCognitoIdentityUser.m:1157:33: 'getMultiFactorAuthenticationCode:mfaCodeCompletionSource:' is deprecated: Use getMultiFactorAuthenticationCode_v2:mfaCodeCompletionSource: instead

@github-actions
Copy link

This issue is stale because it has been open for 14 days with no activity. Please, provide an update or it will be automatically closed in 7 days.

@idrougge
Copy link
Author

I would appreciate a followup from AWS here.

@github-actions
Copy link

This issue is stale because it has been open for 14 days with no activity. Please, provide an update or it will be automatically closed in 7 days.

@idrougge
Copy link
Author

I would appreciate a followup from AWS here.

@palpatim palpatim added pending-triage Issue is pending triage question General question labels Jul 19, 2021
@lawmicha lawmicha self-assigned this Aug 13, 2021
@akrant06
Copy link

@lawmicha - Do we have any update here? this issue still persist in latest version of aws sdk/

@lawmicha lawmicha added the auth label Sep 26, 2022
@lawmicha
Copy link
Contributor

Sorry for the confusion, unassigning myself to make sure this gets picked up by someone on the team working on this category of issues. This issue appears to be triaged and pending actual assignee

@lawmicha lawmicha removed their assignment Sep 26, 2022
@ameter ameter removed the pending-triage Issue is pending triage label Feb 21, 2023
@harsh62 harsh62 removed the question General question label May 9, 2023
@phantumcode phantumcode added the question General question label Jul 25, 2023
@atierian
Copy link
Member

atierian commented Dec 6, 2023

Thanks for opening this issue. We don't plan on addressing all benign warnings within the AWS SDK for iOS at this time.

@atierian atierian closed this as completed Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth build Issues related to build problems and CI/CD question General question
Projects
None yet
Development

No branches or pull requests

9 participants