Cannot Preview in this file. Simulator was shutdown during an update.

Hello,

I am facing a recurring issue with Xcode iOS simulator (preview). I want to preview a SwiftUI for iOS in Xcode, but the Simulator app fails to boot up.

I receive the following error in Xcode: Cannot Preview in this file. Simulator was shutdown during an update.

I have tried the following:

  • Completely uninstalling XCode and deleting all developer data, then reinstalling everthing again.
  • Shutdown and restart
  • Deleting all developer data, deleting XCode cache
  • Reinstalling iOS Simulator runtimes and reconfiguration of simulators.
  • Tested using different simulator and runtime versions.
  • "xcrun simctl --set previews delete al"

My reported issues:

  • FB20987522
  • FB20485454

Thank you

Best regards, Jens

Hi,

Sorry to hear you are having problems getting previews working. There is a known issue with the iOS simulator that shipped with Xcode 26.1 which I am wondering whether you are hitting. If so, using an older sim runtime is the current workaround.

If that is not the version you are seeing this with, then I'd be curious if you are seeing issues also when doing a build+run in Xcode targeting the simulator or if the issues only show up when trying to use previews?

Cannot Preview in this file. Simulator was shutdown during an update.
 
 
Q