-
Notifications
You must be signed in to change notification settings - Fork 248
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
error: could not find module 'amplify_auth_cognito' for target 'arm64-apple-macos'; found: x86_64-apple-macos, #5275
Comments
Hi @richard457, thank you for submitting this issue. We will take a look at it and get back to you with any updates or questions. |
Hi @richard457, are you using the gen2 backend to create your app? |
@richard457 do you see this issue when running a sample flutter app (without adding amplify_auth_cognito)? I suspect that you may have installed a Flutter SDK for x64 architecture on a macOS with arm64 architecture. |
I have flutter version 3.24.0 |
I think so, I started using amplify recently, and I did a bunch of things that I do not know which led to what. |
but I think in general error might be related to the recent change in flutter to adopt new package manager for swift etc.... |
@richard457 I was not able to reproduce this issue using Flutter 3.24.1. when you get a chance would you please responde to these questions:
|
I'm closing this issue as we did not hear back. Please feel free to open a new issue if you face any problem. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Description
Launching lib/main.dart on macOS in debug mode...
/Users/richard/Documents/GitHub/flipper/apps/flipper/macos/Flutter/GeneratedPluginRegistrant.swift:8:8: error: could not find module 'amplify_auth_cognito' for target 'arm64-apple-macos'; found: x86_64-apple-macos, at: /Users/richard/Documents/GitHub/flipper/apps/flipper/build/macos/Build/Products/Debug/amplify_auth_cognito/amplify_auth_cognito.framework/Modules/amplify_auth_cognito.swiftmodule
import amplify_auth_cognito
^
#import "Headers/amplify_auth_cognito-Swift.h"
^
** BUILD FAILED **
Error: Build process failed
Categories
Steps to Reproduce
Add amplify_auth_cognito to flutter app and run debug mode on macos
Screenshots
No response
Platforms
Flutter Version
3.24.0
Amplify Flutter Version
2.3.0
Deployment Method
Amplify CLI
Schema
No response
The text was updated successfully, but these errors were encountered: