Xcode 13.2.1 failed showing Preview

After upgrading Xcode to 13.2.1 on iMac (macOS Monterey 12.1), I cannot see Preview (iPhone 11/iOS 15.2) - even for a new project. Restarting Xcode or rebooting iMac does not help. Preview always show the below error:

“Cannot preview in this file - Timed out waiting for connection to DTServiceHub after 15.0 seconds.”

(PS: Running on simulator works.)

Please help.

Hi,

Sorry to hear you are having problems getting previews working. 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)

sameeeee!

Xcode 13.2.1 failed showing Preview
 
 
Q