Shopify / shopify-cli

Shopify CLI helps you build against the Shopify platform faster.
https://shopify.dev/tools/cli
Other
1.01k stars 201 forks source link

[Bug]: Shopify CLI 2.29.0 homebrew requires Xcode 14.1 but 14.1 is not out yet #2671

Closed kevindees closed 2 years ago

kevindees commented 2 years ago

Please confirm that you:

What type of project are you working on?

theme

Expected behavior

Expected Xcode 14.0.1 to work when running brew upgrade on macOS 13.0 as Xcode 14.1 is still in RC only.

This error also removed my access to the shopify shell command.

Actual behavior

==> Upgrading shopify/shopify/shopify-cli
  2.22.0 -> 2.29.0

Error: Your Xcode (14.0.1) is too outdated.
Please update to Xcode 14.1 (or delete it).
Xcode can be updated from the App Store.

Stack trace

No response

Reproduction steps

  1. Open a terminal and run brew upgrade with Shopify CLI already installed.
  2. Errors.

Operating System

macOS 13.0

CLI version (run shopify version if you're not sure)

2.22.0

Shell

iTerm2

Ruby version (run ruby -v if you're not sure)

ruby 2.6.10p210

What language and version are you using in your application?

No response

shivanraptor commented 2 years ago

Same issue here. Xcode 14.1 official build does not even release yet. The shopify command cannot be used now. Annoyed.

shivanraptor commented 2 years ago

It seems it's Homebrew's bug, version 3.6.7, instead of shopify-cli. Related issue: https://github.com/Homebrew/brew/issues/14048

gonzaloriestra commented 2 years ago

I'm closing, since it's not related to the CLI. Remember you can also install it with gem install shopify-cli, or even better, move to the new CLI 3.x that now supports themes as well 🙂.