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

Target support errors #7

Closed
SkyMatt70 opened this issue Oct 27, 2020 · 3 comments
Closed

Target support errors #7

SkyMatt70 opened this issue Oct 27, 2020 · 3 comments

Comments

@SkyMatt70
Copy link

New project targeting iOS 14.1 fails to compile with the following after adding this package:

Showing Recent Errors Only

Build target AWSCognitoAuthenticationSRP with configuration Debug
error: The package product 'CognitoIdentity' requires minimum platform version 12.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationSRP' from project 'aws-cognito-authentication-kit')
error: The package product 'CognitoIdentityProvider' requires minimum platform version 12.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationSRP' from project 'aws-cognito-authentication-kit')
error: The package product 'JWTKit' requires minimum platform version 13.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationSRP' from project 'aws-cognito-authentication-kit')
error: The package product 'Crypto' requires minimum platform version 13.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationSRP' from project 'aws-cognito-authentication-kit')

Build target AWSCognitoAuthenticationKit with configuration Debug
error: The package product 'CognitoIdentity' requires minimum platform version 12.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationKit' from project 'aws-cognito-authentication-kit')
error: The package product 'CognitoIdentityProvider' requires minimum platform version 12.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationKit' from project 'aws-cognito-authentication-kit')
error: The package product 'JWTKit' requires minimum platform version 13.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationKit' from project 'aws-cognito-authentication-kit')
error: The package product 'Crypto' requires minimum platform version 13.0 for the iOS platform, but this target supports 9.0 (in target 'AWSCognitoAuthenticationKit' from project 'aws-cognito-authentication-kit')

@adam-fowler
Copy link
Member

Up until recently aws-cognito-authentication-kit wouldn't compile on iOS because one of its dependencies, the package jwt-kit didn't compile for iOS. This looks like it has been resolved so we should be able to add an iOS platform for aws-cognito-authentication-kit and get it up and running. I'll look into getting something compiling today.

I warn you though you'll be the first person to have it running on iOS so there maybe issues.

@adam-fowler
Copy link
Member

I released v1.2.0 with iOS support, can you verify it works

@SkyMatt70
Copy link
Author

Thanks Adam, it does now compile but haven't gotten far enough to give you an end to end thumbs up, but it's looking good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants