Cannot find 'run' in scope error

anyone know how to fix this xcode bug? I am building in swift for the SwiftStudentChallenge.




@main



struct MyApp: App {

    var body: some Scene {

        WindowGroup {

            run; /Users/christopherrobinson/Documents/WWDC22; Scene.app

            ContentView()

        }

    }

}




Accepted Answer

Hi, what are you trying to do? run; /Users/christopherrobinson/Documents/WWDC22; Scene.app does not look like valid Swift code, which is why you are getting the error.

Cannot find 'run' in scope error
 
 
Q