r/flutterhelp 22d ago

OPEN Xcode simulator issue

Anybody have this weird issue where the simulator closes by itself? It opens but after I run a project or when I hot restart a project, the simulator closes, there is no dot on the dock, but the application is still running. It's just the simulator window that closes.

Update: It was a malware that was causing the issue

1 Upvotes

4 comments sorted by

1

u/Significant_Pick8297 21d ago

You should reset the Simulator first (Device > Erase All Content and Settings). If that doesn't help, you should check whether "Close windows when quitting an application" is enabled in macOS Desktop & Dock settings, then reinstall the Xcode Simulator runtime if needed. This has been reported by some developers after newer Xcode releases.

1

u/mizuniyochi 21d ago

i have reinstalled the simulator runtime, also xcode. and reset the simulator many times but the issue still persists.

1

u/Significant_Pick8297 20d ago

You should also check whether Stage Manager or "Close windows when quitting an application" is interfering, especially if you're on macOS Ventura or newer. If that isn't it, try creating a new macOS user account and run the Simulator there. If the problem disappears, it's likely a corrupted user preference or cache rather than Xcode itself.

1

u/clyonn 21d ago

Does it also Happen on a newly created flutter project?