I'm trying to create a new XCode project, plain brand new and I can run it on the simulator, but on the canvas it says: Cannot preview in this file - active scheme does not build this file
If on top of that I start adding macOS support, it says:
'appName' is annotated with @main and must provide a main static function of type () -> Void or () throws -> Void.
It also says:
Cannot find type 'App' in scope
Cannot find type 'Scene' in scope
Regarding mac support I was reading there is a workaround, even though I tried and the error remains.
As for the active scheme, I read this, but doesn't help. I mean... there is only 1 scheme in a new project and it's selected automatically
I would assume a plain hello world project would work, what's going on?