# macOS builds hanging on Crystal's install step

**URL:** <https://travis-ci.community/t/macos-builds-hanging-on-crystals-install-step/5413>\
**Category:** Crystal\
**Tags:** macos\
**Created:** [October 11, 2019, 8:27pm UTC](https://travis-ci.community/t/macos-builds-hanging-on-crystals-install-step/5413 "2019-10-11T20:27:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![olbat](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/olbat/32/2870_2.png) [@olbat](https://travis-ci.community/u/olbat)\
**Post date:** [October 11, 2019, 8:27pm UTC](https://travis-ci.community/t/macos-builds-hanging-on-crystals-install-step/5413/1 "2019-10-11T20:27:20Z")

</div>

Since October 4th macOS builds are hanging -and failing- during Crystal’s install step (see [1](https://travis-ci.org/olbat/icu.cr/jobs/596330893),[2](https://travis-ci.org/olbat/libgen/builds/595704885)).

---

<div class="post-metadata">

**Author:** ![dominic](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dominic/32/14_2.png) [@dominic](https://travis-ci.community/u/dominic)\
**Post date:** [October 12, 2019, 1:58am UTC](https://travis-ci.community/t/macos-builds-hanging-on-crystals-install-step/5413/2 "2019-10-12T01:58:50Z")

</div>

I can see this in your failing build:

```auto
Warning: Your Xcode (8.3.3) is outdated.
Please update to Xcode 9.2 (or delete it).
Xcode can be updated from the App Store.
Warning: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.

```

Can you try to run your build on Xcode 9.2 with the following in your .travis.yml file?

`osx_image: xcode9.2`

I would even recommend using a newer image. You can look at your supported images here:

> **[Travis CI Documentation](https://docs.travis-ci.com/user/reference/osx/)**
>
> The macOS Build Environment

Let us know how it goes!

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [October 12, 2019, 2:46am UTC](https://travis-ci.community/t/macos-builds-hanging-on-crystals-install-step/5413/3 "2019-10-12T02:46:17Z")

</div>

Nice catch, @dominic, I missed that!

In the light of this, the more concerning message is [Travis CI - Test and Deploy with Confidence](https://travis-ci.org/olbat/icu.cr/jobs/596330893#L3743-L3745:)

> ```
> Warning: You are using macOS 10.12.
> We (and Apple) do not provide support for this old version.
> You will encounter build failures with some formulae.
> 
> ```

Which means that Homebrew has stopped providing newer bottles for OSX 10.12 and **@olbat needs to rather update to 10.13** i.e.

```yaml
osx_image: xcode9.4

```

(which is the default so they can omit the clause altogether)

---

<div class="post-metadata">

**Author:** ![olbat](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/olbat/32/2870_2.png) [@olbat](https://travis-ci.community/u/olbat)\
**Post date:** [October 12, 2019, 1:53pm UTC](https://travis-ci.community/t/macos-builds-hanging-on-crystals-install-step/5413/4 "2019-10-12T13:53:18Z")

</div>

> [@dominic](#):
>
> osx\_image: xcode9.2

Awesome, it worked!

Thanks a lot for your help on this 🙂
