I updated MacOs to Sonoma and Xcode to 15 but when I want to preview some SwiftUI view, my project crashes. Some views don't crash but the others do.
It started when I updated Xcode and my Mac.
I also receive an error message,
ld: warning: ignoring duplicate libraries: '-lc++'
Please help, very confused.
Thanks