I don't know why after I connected to firebase in my app my preview just started to crash. here are some screen shots
IOS sim preview on MBP with XCode 16beta
Hi,
Sorry to hear you are having problems getting previews working. This crash is unfortunately hitting a known issue with no known workaround.
Hope to have better news for you in a future seed.
We believe this should be fixed in current seeds. Could you try again with Seed 3, and if you are still having issues then file a feedback with diagnostics so we can take a look?
Steps to generate helpful diagnostics:
- 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
- Reproduce the issue
- 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)
- 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 report (will be named something like
previews-diagnostics-0123456789.zip
) - Generate the sysdiagnose(s) and attach those too