flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Launch iOS simulator in Rosetta mode

Open scopendo opened this issue 2 years ago • 6 comments

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.

scopendo avatar Nov 30 '23 18:11 scopendo

any updates on this?

qwertylolman avatar Apr 15 '24 14:04 qwertylolman

Any updates?

besher-altobeh avatar May 16 '24 07:05 besher-altobeh

any updates?

hpelitebook745G2 avatar May 27 '24 16:05 hpelitebook745G2

any updates?

fatihcetintam avatar Jun 11 '24 10:06 fatihcetintam

any updates?

mvrsn avatar Jul 27 '24 22:07 mvrsn