# Xcode 11.3.1 Released

**URL:** <https://discuss.circleci.com/t/xcode-11-3-1-released/34137>\
**Category:** Announcements\
**Tags:** xcode, macos\
**Created:** [January 16, 2020, 9:50am UTC](https://discuss.circleci.com/t/xcode-11-3-1-released/34137 "2020-01-16T09:50:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/marc/32/835_2.png) [@marc](https://discuss.circleci.com/u/marc)\
**Post date:** [January 16, 2020, 9:50am UTC](https://discuss.circleci.com/t/xcode-11-3-1-released/34137/1 "2020-01-16T09:50:03Z")

</div>

I’ve just released an image with Xcode 11.3.1 (build 11C505). You can select it as follows:

```yaml
jobs:
  build:
    macos:
      xcode: 11.3.1

```

Changes from the 11.3 image:

- Xcode is 11.3.1 build 11C505
- Added Ruby 2.7.0 (in addition to 2.5, 2.6)
- git upgraded from 2.24.1 (with git-lfs 2.8.0) to 2.25.0 (with git-lfs 2.9.2)
- python upgraded from 3.7.5 to 3.7.6
- nodejs upgraded from 13.3 to 13.6

The [full manifest of software is listed here](https://circle-macos-docs.s3.amazonaws.com/image-manifest/v2244/index.html).

---

<div class="post-metadata">

**Author:** ![robmaceachern](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/robmaceachern/32/24259_2.png) [@robmaceachern](https://discuss.circleci.com/u/robmaceachern)\
**Post date:** [February 24, 2020, 5:10pm UTC](https://discuss.circleci.com/t/xcode-11-3-1-released/34137/2 "2020-02-24T17:10:35Z")

</div>

@marc I’m attempting to update to this image (from Xcode 11.0.0) but I’m hitting this error when attempting to install Bundler.

```auto
#!/bin/bash --login -eo pipefail
gem install bundler
Fetching bundler-2.1.4.gem
ERROR: While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.

Exited with code exit status 1

```

Our step is defined as:

```auto
      - run:
          name: Bundler Install
          command: gem install bundler

```

It worked on the Xcode 11.0.0 image. I’m guessing this has something to do with the [Ruby changes](https://discuss.circleci.com/t/macos-catalina-xcode-11-2-beta-2-released/33066) between 11.3.1 and 11.0.0? Any tips on migration? Our `.ruby-version` is 2.5.5.

---

<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:** [February 24, 2020, 8:40pm UTC](https://discuss.circleci.com/t/xcode-11-3-1-released/34137/3 "2020-02-24T20:40:18Z")

</div>

@robmaceachern Hi Rob, I would suggest switching to one of the included Ruby versions, rather than the system Ruby. The system Ruby gems are installed in `/Library/Ruby/Gems/2.6.0` and this directory tends to have more restrictive permissions (you may have to use `sudo` for example).

Try setting your Ruby version to one of the versions we make available to Chruby:

```
run:
    name: Set Ruby Version
    command: echo 'chruby ruby-2.5' >> ~/.bash_profile

```

With Chruby, gems will be installed in `~/.gem/ruby/2.x.x/gems` which, as it is in the user’s own directory does not have restricted permissions.

For more info, please refer to: [https://circleci.com/docs/2.0/testing-ios/#using-custom-ruby-versions](https://circleci.com/docs/2.0/testing-ios/#using-custom-ruby-versions)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![robmaceachern](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/robmaceachern/32/24259_2.png) [@robmaceachern](https://discuss.circleci.com/u/robmaceachern)\
**Post date:** [February 24, 2020, 9:07pm UTC](https://discuss.circleci.com/t/xcode-11-3-1-released/34137/4 "2020-02-24T21:07:14Z")

</div>

Thanks @bytesguy.

The version of Ruby we were using (0.5.5) was included on the Xcode 11.0.0 image but it took a while for me to find that it had been changed to 0.5.7 on the latest image. We also re-enabled Ruby autoswitching with the step in [this post](https://discuss.circleci.com/t/released-xcode-11-2-and-macos-10-15-catalina/33302/9).

---

<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:** [February 25, 2020, 5:43pm UTC](https://discuss.circleci.com/t/xcode-11-3-1-released/34137/5 "2020-02-25T17:43:58Z")

</div>

Hi @robmaceachern Glad you now have this resolved 🙂
