I'm using macOS Veneer and Xcode 14 to develop a macOS application with a target development set to macOS 10.15. As I'm new to coding with SwiftUI, I encountered a few errors when I changed the target to macOS 10.15:
- "'main()' is only available in macOS 11.0 or newer"
- "'Scene' is only available in macOS 11.0 or newer"
- "'WindowGroup' is only available in macOS 11.0 or newer" I'm seeking guidance on how to set up the project to enable SwiftUI coding while targeting macOS 10.15. I've noticed that there is no AppDelegate.swift file in the default project template.
I'm aware that starting from Xcode 12, SwiftUI became available. Are there any resources or links where I can download default project templates for older Xcode versions? My computer will now allow me to open older Xcode versions.