I have had trouble previewing things for a few days to the point I had to stop the courses ISO Foundation cause I couldn’t see if what I was typing was the same as in the video. I went online and saw a post from 2021 but nothing new. But I try everything they said (cleaning the build folder, changing the view type from iPhone 14 pro to iPhone 14 etc.) I even erased Xcode from my Mac and redownloaded it.
To make sure it wasn’t my document the problem, I just opened a new one and with the starting code only (Hello world etc) It has been working to build the preview for now 10 minutes and this showed up
Sounds like you haven’t done it yet! Deleting Derived Data is useful for because it clears build files more so than just “cleaning” the project with Cmd + Shift + K
Go to Xcode preferences (Cmd + , shortcut)
Go to Locations tab
derived data should show a drop down that says “default” right under that is a file path.
Good idea!
I tried it and it didn’t work. It has been stick in prep iPhone 14 (and 14 pro I tried both) for Simulator.
Its not the DTServer connexion the problem anymore. Its just that the preview doesn’t load.