Cannot get build to run on macOS

I recently paid for the macOS plan.

I want to build my project on a macOS machine, but it keeps building on Linux.

Under “Build Environment”, the setting “Build macOS project” is set to “On”.

My .circleci/circle.yml file has the following contents:

version: 2
jobs:
  build:
    machine:
      xcode:
        version: 8.2
    steps:
      - checkout
      - run: ./build.sh

As a sanity check, I just ran ‘Rebuild with SSH’ and, after ssh’ing in, verified that running uname -a indicates Ubuntu. It is definitely not macOS.

What am I missing? What else do I have to do to get it to run on macOS?

Hi matthewtoast, did you ever find a solution to this issue? I am having the exact same problem.

Hi oskanberg,

Unfortunately, I was not able to find a solution. (Ultimately I switched to a different system since I had a deadline to meet.) If anyone solves, this, though, I would like to know what the fix is!

Hi Mattew!

It looks like you stumbled on our early access. We are still in process of rolling it out. I am sorry to hear that you had issues with the service. Currently, we are only supporting Xcode 8.3.3 and Xcode 9.0 on the 2.0 platform. Please let us know if you are still having issues.

KunalJain, is there anything I need to do to activate this feature? I have a config with xcode: 9.0, but the build is still running on linux.

You have to be on a trail or paid plan. If it is still not working, please open a ticket on our side and we are happy to help.