SwiftUI - SceneDelegate: Cannot find 'ContentView' in scope

Hi Everyone,

I need help with this error message, I work in Xcode 12.1, I have a problem with the launch screen (blank screen), I rebuild the new project with my old folders (copy/paste).
Answered by Faycel_TUN_2020 in 645026022
This is a solution from Stackoverflow:

I created a new SwiftUI View file under the same name, and pasted the original code, and deleted the file.

Creating all new folders group, from the project folder, and copying all files over, next delete all olds folders, and click (Clean Build Folder) from Xcode / Product.

Relaunched the project. It Worked !!!
Accepted Answer
This is a solution from Stackoverflow:

I created a new SwiftUI View file under the same name, and pasted the original code, and deleted the file.

Creating all new folders group, from the project folder, and copying all files over, next delete all olds folders, and click (Clean Build Folder) from Xcode / Product.

Relaunched the project. It Worked !!!
SwiftUI - SceneDelegate: Cannot find 'ContentView' in scope
 
 
Q