XCode 15 Beta 2 Preview Pane errors

Failed to launch app"..." in reasonable time.

Creating a new SwiftUI app, trying to show the preview for ContentView.swift before selected another file in the project before selecting ContentView.swift

Finally , trying to show the view preview creates a

'Failed to launch app "..." in reasonable time'

along with the attached error diagnostic.

Also, MobileCal and PowerShell can, after a few minutes, quit unexpectedly. Their diagnostics are also attached.

Can't upload files a the moment

Post not yet marked as solved Up vote post of CSantavy Down vote post of CSantavy
576 views

Replies

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
  • FYI see FB12453767

Add a Comment