Skip to content

Don't error when using xcode-select to find current selected version. #210

Open

Description

@thii
$ xcodes list
Failed executing: `/usr/bin/xcode-select -p` (2).

MAINTAINER EDITED BELOW

If I don't have any Xcode version installed, Xcodes currently errors out using the xcode-select to print out which version is selected

A bit of refactor is needed, but Xcodes should fail gracefully if xcodeSelectPrintPath fails.

Activity

  1. MattKiazyk commented on Sep 29, 2022

    @MattKiazyk
    Contributor

    Thanks @thii - i've updated the wording to make this issue more of how to fix it.

  2. changed the title [-]Fail to run without existing Xcode or Xcode Command Line Tools[/-] [+]Don't error when using xcode-select to find current selected version.[/+] on Sep 29, 2022
  3. thii commented on Sep 29, 2022

    @thii
    ContributorAuthor

    Xcodes should fail gracefully if xcodeSelectPrintPath fails.

    I think it should not fail though. If I have a new Mac, the first thing I download would be xcodes, and I want it to be able to download Xcode. But currently I'd have to manually download Xcode in order to run xcodes in order to download Xcode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions