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

Launch iOS simulator in Rosetta mode #7098

Open
scopendo opened this issue Nov 30, 2023 · 4 comments
Open

Launch iOS simulator in Rosetta mode #7098

scopendo opened this issue Nov 30, 2023 · 4 comments

Comments

@scopendo
Copy link

When a Flutter app depends on a package with a cocoapods plugin that does not contain support for running on the arm64 version of the iOS simulator, we get an error. For example:

Swift Compiler Error (Xcode): Could not find module 'awesome_notifications_fcm' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/username/myapp/build/ios/Debug-dev-iphonesimulator/awesome_notifications_fcm/awesome_notifications_fcm.framework/Modules/awesome_notifications_fcm.swiftmodule
/Users/username/myapp/ios/Runner/AppDelegate.swift:1:7

Whilst ultimately this requires the package author to add support for the arm64 architecture, it would be very helpful if we could launch the iOS simulator from Android Studio in "Rosetta" mode. This is possible from within Xcode 15 using menu Product > Destination > Destination Architectures > Show Rosetta Destinations.

Is it possible to launch the iOS simulator in this mode? Starting the simulator via Xcode and then running the Flutter app from Android Studio doesn't seem to work.

@qwertylolman
Copy link

any updates on this?

@besher-altobeh
Copy link

Any updates?

@hpelitebook745G2
Copy link

any updates?

1 similar comment
@fatihcetintam
Copy link

any updates?

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

5 participants