# Homebrew on XCode 13.4 failing with auto-update disabled

**URL:** <https://discuss.circleci.com/t/homebrew-on-xcode-13-4-failing-with-auto-update-disabled/47262>\
**Category:** CircleCI Images\
**Tags:** homebrew\
**Created:** [February 27, 2023, 5:03pm UTC](https://discuss.circleci.com/t/homebrew-on-xcode-13-4-failing-with-auto-update-disabled/47262 "2023-02-27T17:03:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlogsdon](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jlogsdon/32/32478_2.png) [@jlogsdon](https://discuss.circleci.com/u/jlogsdon)\
**Post date:** [February 27, 2023, 5:03pm UTC](https://discuss.circleci.com/t/homebrew-on-xcode-13-4-failing-with-auto-update-disabled/47262/1 "2023-02-27T17:03:37Z")

</div>

Today our XCode 13.4 jobs started failing on our `brew bundle` step. We are able to resolve the issue by removing the recommended `HOMEBREW_NO_AUTO_UPDATE: 1` environment variable ([Using the macOS execution environment - CircleCI](https://circleci.com/docs/using-macos/#optimizing-homebrew)) but this significantly increases the runtime of our jobs.

Is there any way to resolve this without needing to auto-update every run?

---

<div class="post-metadata">

**Author:** ![bytesguy](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bytesguy](https://discuss.circleci.com/u/bytesguy)\
**Post date:** [March 1, 2023, 9:59am UTC](https://discuss.circleci.com/t/homebrew-on-xcode-13-4-failing-with-auto-update-disabled/47262/3 "2023-03-01T09:59:05Z")

</div>

Please see:

> [@Update to homebrew 4](https://discuss.circleci.com/t/update-to-homebrew-4/47152/2):
>
> We always install the latest version of homebrew at the time the image is built. So all new images from now on will have homebrew v4. We do not have any plans to upgrade homebrew on existing images however.

---

<div class="post-metadata">

**Author:** ![jlogsdon](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jlogsdon/32/32478_2.png) [@jlogsdon](https://discuss.circleci.com/u/jlogsdon)\
**Post date:** [March 16, 2023, 4:35pm UTC](https://discuss.circleci.com/t/homebrew-on-xcode-13-4-failing-with-auto-update-disabled/47262/4 "2023-03-16T16:35:06Z")

</div>

Ah, cool. Well homebrew is basically broken on older images 😃 we had to just rip it out entirely and manage some package installations manually instead.
