From the command line:
swift package init --type executable
Download & install the Swift 5.7 Development Toolchain: https://www.swift.org/download/#swift-57-development
Switch to the 5.7 Development Toolchain within Xcode:
From the menu bar:
Xcode > Toolchains > Swift 5.7 Development Snapshot 2022-08-30 (a)
Build & Run!