Hi folks,
I downloaded the Xcode 13 and created a new project, named 2021107. After launching the program and without writing any code, the preview failed in the very beginning as shown in fig1.png. The error message shows the project '20211007' does not contain a preview provider named "ContentView_Previews_". It asks me to check the build settings to ensure the preview provider is compiled to the product. Since I'm a beginner in the Xcode, I'm sorry I'm not sure where the settings are and what to do to fix it. I click on the 'Try Again' to rebuild the preview and it failed again. I used to use the Xcode 12 to study the Swift language and I remember the Preview showed the 'Hello world' after launching the program. It seems the Xcode 13 is different. I'd be much obliged if anyone would help me with the problem. Thanks in advance!
Additional information:
[1] When I clicked on 'build', it succeeded. The simulator was launched without any error.
[2] Fig2 shows the message when I clicked on 'Diagnostics' next to the 'Try Again' on the preview panel.