Skip to content

How do I print the install path of a specific Xcode? #441

@Naville

Description

@Naville

Hi:

We use xcodes in our CI infra, for now I just hard-encode /Applications/Xcode-{VERSION}.app.

However, if AppStore already installs Xcode as /Applications/Xcode.app, this breaks.

xcodes install -p doesn't achieve what I need, because in this case:

xcodes install -p 16.4.0
16.4 is already installed at /Applications/Xcode.app

Expected behavior:

  • xcodes install 16.4.0 if it's not installed
  • Then just prints out the raw path without that message prefix

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