before execute, gen xcode project by
swift package generate-xcodeproj
and configure the build setting as you need
then excute the script with two argument
- the name of .xcodeproj
- the sheme to gen (may be different due to auto generate xcode project)