Currently working on a project these past couple of days but today when I opened Xcode and selected my project it would not display my stimulater phone and would keep refreshing showing the last successful build was sometime yesterday.
Replies
Did you try rebooting the Mac ?
Hi,
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.
If you are having issues with macOS, catalyst or on-device iOS previews then download and install the logging profile for your device. Instructions and profiles are available here: https://developer.apple.com/bug-reporting/profiles-and-logs/?name=swift Attach the sysdiagnose to the radar as well as the diagnostics using the instructions below.
Then when you get an error in Xcode Previews, an error banner appears in the canvas
- Click the "Diagnostics" button in that banner
- In the sheet that appears, click "Generate Report" in the bottom left of the sheet
- Attach (or make from the folder) the resulting zip file to the bug (will be named something like
previews-diagnostics-0123456789.zip)