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

The package product 'Amplify' requires minimum platform version 9.0 for the watchOS platform #3589

Closed
theartofnonso opened this issue Mar 30, 2024 · 3 comments
Labels
auth Issues related to the Auth category question General question

Comments

@theartofnonso
Copy link

Describe the bug

Below is the error message I get when I try to build my watchOS after adding the Amplify dependencies package.

Image below shows that my deployment target is 10.4
Screenshot 2024-03-30 at 11 59 04

  1. The package product 'Amplify' requires minimum platform version 9.0 for the watchOS platform, but this target supports 8.0 (in target 'Authenticator' from project 'AmplifyUIAuthenticator')
  2. The package product 'AWSCognitoAuthPlugin' requires minimum platform version 9.0 for the watchOS platform, but this target supports 8.0 (in target 'Authenticator' from project 'AmplifyUIAuthenticator')

Steps To Reproduce

Steps to reproduce the behaviour:
1. Create new watchOS project
2. Add Amplify dependencies
3. Attempto to build or run project
4. See error

Expected behavior

watchOS app is expected to run successfully without problems

Amplify Framework Version

2.28.0

Amplify Categories

Auth

Dependency manager

Swift PM

Swift version

5

CLI version

12.10.1

Xcode version

15.3 (15E204a)

Relevant log output

<details>
<summary>Log Messages</summary>


INSERT LOG MESSAGES HERE
```

Is this a regression?

No

Regression additional context

No response

Platforms

watchOS

OS Version

10.4

Device

watchOS series 9

Specific to simulators

No response

Additional context

No response

@theartofnonso
Copy link
Author

My take is that the Amplify Authenticator is not set up for the watchOS platform

@harsh62
Copy link
Member

harsh62 commented Apr 1, 2024

Authenticator only supports iOS and macOS. See:
https://github.com/aws-amplify/amplify-ui-swift-authenticator/blob/main/Package.swift#L9

platforms: [.iOS(.v15), .macOS(.v12)],

@harsh62 harsh62 closed this as completed Apr 1, 2024
Copy link
Contributor

github-actions bot commented Apr 1, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@harsh62 harsh62 added auth Issues related to the Auth category question General question labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth Issues related to the Auth category question General question
Projects
None yet
Development

No branches or pull requests

2 participants