error: could not find module 'amplify_auth_cognito' for target 'arm64-apple-macos'; found: x86_64-apple-macos, #5275
Labels
auth
Issues related to the Auth Category
macOS
Issues specific to the macOS Platform
pending-close-response-required
The issue will be closed if details necessary to reproduce the issue are not provided within 7 days.
pending-community-response
Pending response from the issue opener or other community members
question
A question about the Amplify Flutter libraries
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: