Im trying to run an macos
instance with Xcode, however I’m using python scripts in the process.
Python is no longer installed on Mac OSX.
- How do I get Xcode and Python to co-exist on Circle CI?
- Installing Brew is taking minutes but it may work eventually.
- I’ve tried using ORB’s but I’m getting this error:
[#/jobs/build] only 1 subschema matches out of 2
1. [#/jobs/build] 2 subschemas matched instead of one
| Exactly one of the following schemas must match:
| oneOf:
| - required:
| - docker
| - required:
| - machine
| - required:
| - macos
Here’s a snippet of my circle.yaml
version: 2.1
orbs:
python: circleci/python@2.0.3
jobs:
build:
# Specify the Xcode version to use
macos:
xcode: "13.4.1"
working_directory: ~/work
executor: python/default
steps:
- checkout
- run:
name: "Python version"
command: |
python --version