Description
When installing Swift on a fresh macOS install, I can go to swift.org and follow the instructions to install Swift via Swiftly. This is awesome! I soon have swift installed on my system and swift --version
works! 🎉
However, actually trying to use it fails, e.g. with a swift package init
with the error saying no developer tools were found, I should install them, referring to xcode-select
etc.
Swiftly should at least automatically install the developer tools if it needs them otherwise the user experience is a bit jarring and might put people off Swift. Ideally Swiftly wouldn't even need them. Why do I need to know about Xcode and xcrun
if I don't want Xcode? Etc
(I'm aware there are plenty of historical reasons why these are all tied together and this is part of a longer journey of Swift decoupling itself from it's Apple-platform-only development and may require changes in Swift)