Install the Xcode command line tools on macOS, which include Swift; a full Xcode install is not needed for packages
xcode-select --install
xcodebuild -version
swift --versionBuilding iOS apps still requires the full Xcode from the App Store plus simulators
