XcodesOrg / XcodesOrg/xcodes

Installing via homebrew requires manual linking step if Xcodes GUI cask installed

Open
#151 5 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
4.8k
Forks
182
Avg merge
2d 12h
Merged PRs (30d)
1

Description

Steps:

  1. brew install --cask xcodes to install the GUI app
  2. brew install robotsandpencils/made/xcodes to install the CLI

Behaviour:

$ xcodes version
zsh: command not found: xcodes
$ brew link xcodes
Linking /usr/local/Cellar/xcodes/0.17.0... 1 symlinks created.
$ xcodes version
0.17.0

Brew output during install:

$ brew install robotsandpencils/made/xcodes
==> Tapping robotsandpencils/made
Cloning into '/usr/local/Homebrew/Library/Taps/robotsandpencils/homebrew-made'...
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 83 (delta 8), reused 32 (delta 7), pack-reused 47
Receiving objects: 100% (83/83), 42.72 KiB | 2.37 MiB/s, done.
Resolving deltas: 100% (18/18), done.
Tapped 1 formula (15 files, 71.6KB).
==> Installing xcodes from robotsandpencils/made
==> Downloading https://github.com/RobotsAndPencils/xcodes/releases/download/0.17.0/xcodes-0.17.0.mojave.bottle.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/171964196/753be900-7841-11eb-9635-36e1bcf2c174?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CS
######################################################################## 100.0%
==> Pouring xcodes-0.17.0.mojave.bottle.tar.gz
==> xcodes cask is installed, skipping link.
🍺  /usr/local/Cellar/xcodes/0.17.0: 2 files, 8MB

I assume it's the "skipping link" bit that's the issue, maybe because the formula and the cask have the same name?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the installation sequence with brew install --cask xcodes followed by brew install robotsandpencils/made/xcodes, and compare it with the reported brew link xcodes workaround. Inspect the Homebrew formula and cask behavior involved in the install, then verify that xcodes version works without a manual linking step.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.