Skip to content

Swiftly should not require xcrun to work #322

Open
@0xTim

Description

@0xTim

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions