Xcode WatchOS app error: Cannot preview this file. Cannot connect to apple watch

Hi, I am trying to develop a simple app that records punches on a heavy bag through my Apple Watch. When I successfully build and try to use it on my watch, it does not load and I get the message on Xcode

 **Cannot preview this file.** Cannot connect to *** apple watch

I am trying to attach the "previews diagnostics" file generated from the Diagnostics icon but I continuously get an error message, so I will screenshot the initial window

Thank you for your support, Nikos

Hi,

Sorry to hear you are having problems getting previews working. Best next step will be to file a feedback with diagnostics so we can take a look.

Steps to generate helpful diagnostics:

  1. Download and install the logging profile on all devices involved. Instructions and profiles are available here: https://developer.apple.com/bug-reporting/profiles-and-logs/?name=swift
  2. Reproduce the issue
  3. Click the "Diagnostics" button in the error banner in Previews' Canvas area (or if the banner is missing you can use the menu: Editor > Canvas > Diagnostics)
  4. In the sheet that appears, click "Generate Report" in the bottom left of the sheet
  5. Attach (or make from the folder) the resulting zip file to the bug (will be named something like previews-diagnostics-0123456789.zip)
  6. Generate the sysdiagnose(s) and attach those too
Xcode WatchOS app error: Cannot preview this file. Cannot connect to apple watch
 
 
Q