Create directory $mkdir myProject Go in $cd myProject Init the project $swift package init --type executable Create Xcode Template $swift package generate-xcodeproj