I always get this error when trying to show a preview since yesterday after updating to Xcode 14.2. Before that update, previews in Xcode 14.1 worked fine. Now I always get this error...
I quit and relaunched Xcode several times. I trashed Xcode, downloaded a new copy from Apple Developer, same result. I deleted the Simulator "iPhone 14 Pro" and created a new one. Same result...
FB11880907
Added a new user account. Launched Xcode, new project, got the error message: Cannot preview in this file - Timed out waiting for connection to DTS…
After another reboot of my MacBook, previews worked again in both accounts. You can close this bug, if you think it’s normal to reboot twice or more after an Xcode update to regain all functionality…