본문 바로가기
Flutter

How to fix Flutter iOS Simulator Error

by NewbieDeveloper 2023. 3. 9.

Let's learn how to take action by error type in case of error that does not run iOS Simulator during Flutter development.

 

Unable to boot the simulator Error

If the iOS Simulator error occurs when running the iOS Simulator in the MAC environment, you can take action in the order below.

 

  1. Click on the top left apple icon
  2. System setting
  3. Select General > Storage
  4. Click the Developer right Info(i) button in the list below
  5. Click and confirm the Delete button after selecting XCode Caches
  6. Re-run iOS Simulator

Figure-1.-Number-of-XCode-Caches-to-be-resolved-by-deleting-them
Figure 1. Number of XCode-Caches to be resolved by deleting them.

VS Code  Failed to launch iOS Simulator: Error: Emulator didn't connect within 60 seconds 

When running Flutter through VS Code in a MAC environment, you can take the following actions to resolve the 'Failed to launch iOS Simulator: Error: Emulator didn't connect with 60 seconds error.

  1. Shut down the running iOS simulator
  2. Run Spotlight (Command + Space Bar) to find and run Simulator
  3. Return to VS Code and run Flutter (e.g.flutter run)
  4. Select the Run Environment with iOS Simulator

Force-quit-and-restart-the-simulator
Figure 2.Force quit and restart the simulator

 

If there is a different type of error, please leave a comment then I will answer it.

댓글