When creating projects in Xcode 10.1, they end up as Swift "4" (4.0) in the Xcode build settings.
My best guess is that Xcode itself peeks into the Package.swift file and finds the
// swift-tools-version:4.0
marker.
We should probably check the Xcode version at installation time, and patch our Package.swift files according to the version.
When creating projects in Xcode 10.1, they end up as Swift "4" (4.0) in the Xcode build settings.
My best guess is that Xcode itself peeks into the Package.swift file and finds the
marker.
We should probably check the Xcode version at installation time, and patch our Package.swift files according to the version.