xcodes icon indicating copy to clipboard operation
xcodes copied to clipboard

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

Open Naville opened this issue 5 months ago • 1 comments

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

Naville avatar Aug 13 '25 05:08 Naville