SwiftUI Preview - iOS app development

One more similar to the previous problem. When I clicked the Resume button in the Preview section one hour ago... I have been still observing the process of "Preparing iPhone Simulator for Previews". Probably not developers but creators of xCode should support me and others to find a global solution... I would like to mention that the same process works properly when I use it for the Mac app development

Accepted Reply

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.

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

  1. Click the "Diagnostics" button in that banner
  2. In the sheet that appears, click "Generate Report" in the bottom left of the sheet
  3. Attach (or make from the folder) the resulting zip file to the bug (will be named something like previews-diagnostics-0123456789.zip)
  • Hi, I’ve prepared report and what will be next steps. I’m waiting politely and hope that you support me. For now I’m still observing time out during the connection to DTServiceHub

  • Thanks for doing that! Could you let me know the identifier of the feedback, and I'll make sure it reaches the right team asap!

  • Thanks for your support. The ticket of my issue on Feedback assistant is – FB9991177 (Apr 21, 2022 at 10:02 PM ). Regards

Add a Comment

Replies

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.

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

  1. Click the "Diagnostics" button in that banner
  2. In the sheet that appears, click "Generate Report" in the bottom left of the sheet
  3. Attach (or make from the folder) the resulting zip file to the bug (will be named something like previews-diagnostics-0123456789.zip)
  • Hi, I’ve prepared report and what will be next steps. I’m waiting politely and hope that you support me. For now I’m still observing time out during the connection to DTServiceHub

  • Thanks for doing that! Could you let me know the identifier of the feedback, and I'll make sure it reaches the right team asap!

  • Thanks for your support. The ticket of my issue on Feedback assistant is – FB9991177 (Apr 21, 2022 at 10:02 PM ). Regards

Add a Comment