dipon_the_pro_coder
dipon_the_pro_coder

Reputation: 45

Is there any way to find out why Preview Crashed on Xcode - SwiftUI

Sometimes my app crash, it shows - preview crashed. So I have to find the reason manually.

So I'm looking for a solution If I can get the reason why my preview crashed, as we get the reason in android studio why the app stopped working(in the run log menu).

Upvotes: 3

Views: 2234

Answers (1)

Hashim Khan
Hashim Khan

Reputation: 120

Check ~/Library/Logs/DiagnosticReports for crash logs from your application.

Upvotes: 3

Related Questions