AppLaunchTimeoutError

Hi. I tried to launch SwiftUI preview. But I got an error "AppLaunchTimeoutError"

I attach the diagnostics. Does anyone know how to fix this problem?

Answered by DTS Engineer in 861442022

Sorry to hear you are having problems getting previews working.

To start from a fresh slate you can use the terminal app and run xcrun simctl --set previews delete all.

If that still doesn't resolve issue then probably best next step will be to file a feedback with diagnostics. We will need the diagnostics Xcode Previews generates in order to make sure we understand the error the previews system is encountering.

  1. When you get an error in Xcode Previews, an error banner appears in the canvas
  2. Click the "Diagnostics" button in that banner
  3. In the sheet that appears, click "Generate Report" in the bottom left of the sheet
  4. Attach (or make from the folder) the resulting zip file to the bug (will be named something like previews-diagnostics-0123456789.zip)

Then report back here with your feedback ID and I can make sure it gets to the right folks as soon as possible.

Sorry to hear you are having problems getting previews working.

To start from a fresh slate you can use the terminal app and run xcrun simctl --set previews delete all.

If that still doesn't resolve issue then probably best next step will be to file a feedback with diagnostics. We will need the diagnostics Xcode Previews generates in order to make sure we understand the error the previews system is encountering.

  1. When you get an error in Xcode Previews, an error banner appears in the canvas
  2. Click the "Diagnostics" button in that banner
  3. In the sheet that appears, click "Generate Report" in the bottom left of the sheet
  4. Attach (or make from the folder) the resulting zip file to the bug (will be named something like previews-diagnostics-0123456789.zip)

Then report back here with your feedback ID and I can make sure it gets to the right folks as soon as possible.

AppLaunchTimeoutError
 
 
Q