Skip to content

CommandLineTools.new crashes on macOS 26 beta 3 #294

@GuMiner

Description

@GuMiner

Issue

platform_specific uses all_available, without checking if all_available is not nil.

That results in:

Type error: command_line_tools[install them] ... had an error ... no implicit conversion of nil into String

Other notes

This is on a macOS 26 beta 3 VM. I suspect that this is because the found Command Line Tool options don't match with the regex. Notably, the found tools are:

* Label: Command Line Tools beta   for Xcode-26
(yes, two spaces in-between 'beta' and 'for')
...
* Label: Command Line Tools for Xcode 26.0 beta 3-26.0

But, the regex is:

/*.{1,8}Command Line Tools/

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