Simulator was shutdown during an update

I am trying to preview my SwiftUI views but Xcode Preview Canvas failing.

I tried everything that I found at internet but nothing works.

Finally I created a new iOS project that contains only a view

import SwiftUI

struct ContentView: View {
    var body: some View {
        VStack {
            Image(systemName: "globe")
                .imageScale(.large)
                .foregroundStyle(.tint)
            Text("Hello, world!")
        }
        .padding()
    }
}

#Preview {
    ContentView()
}

Even this view cannot be previewed

The error is Simulator was shutdown during an update Simulator [3E0DB935-C4C2-4566-BA48-8E21564C207C] failed to boot and may have crashed.

I tried to restart xCode, restart Mac, download ios 26.0 sdk and created a simulator with that sdk but nothing helped.

Do you have an idea?

Hi,

Sorry to hear you are having problems getting previews working. This kind of issue can often indicate a crash in a problem with the simulator infrastructure itself. If you look into the folder ~/Library/Logs/DiagnosticReports, do you see any crash reports for anything that corresponds with the timeframe where you reproduced the problem?

If nothing stands out to you, the best next step will be to file a feedback with diagnostics so we can take a look.

Install the logging profile using instructions available here: https://developer.apple.com/bug-reporting/profiles-and-logs/?name=swift On your mac running Xcode, and on your physical preview device (if you are using one).

Install the logging profile using the following instructions on your mac running Xcode; and if you are using one, your physical preview device (iOS or visionOS): https://developer.apple.com/bug-reporting/profiles-and-logs/?name=swift

Then when you reproduce the problem in Xcode:

  1. Either (a) an error banner will appear, click the "Diagnostics" button in that banner; or (b) if you're not seeing an error but you still want to provide diagnostics you can get the same diagnostics window by going under the Editor menu in the menu bar, then selecting the Canvas submenu, then selecting "Diagnostics".
  2. In the sheet that appears, click "Generate Report" in the bottom left of the sheet
  3. Attach (or make from the folder) the resulting zip file to the bug (will be named something like previews-diagnostics-0123456789.zip)
  4. Generate a sysdiagnose on your mac and any on-device preview devices, and attach those too
Simulator was shutdown during an update
 
 
Q