Learn Courses My Dashboard

Build Preview Error

I get the following message when trying to preview any project.

Cannot Preview in this file.
Timed out waiting for connection to DTSe…

I’m using XCODE 14.2 and everything was fine until an iMac OS update.

I’ve tried the following steps from a previous post but without success. Any ideas how to resolve?


Hi Neil,

Can you provide your code for the View in question so that we can see what you have tried to do.

Paste your code in as text, rather than providing a screenshot.

To format the code nicely, place 3 back-ticks ``` on the line above your code and 3 back-ticks ``` on the line below your code. Like this:

Code goes here

The 3 back-ticks must be the ONLY characters on the line. The back-tick character is located on the same keyboard key as the tilde character ~ (which is located below the Esc key - QWERTY keyboard).

Alternatively after you paste in your code, select that code block and click the </> button on the toolbar. This does the same thing as manually typing the 3 back ticks on the line above and below your code.

This also makes it easier for anyone assisting as they can copy the code and carry out some testing.