####
# Default job.
# This job simply defines the iOS image, some environment variables
# and stuff that all jobs should have
##
default: &defaultJob
  # Set the xcode version this virtual machine will use
  macos:
    xcode: "9.4.1"
  # We need to set this for RVM.
  shell: /bin/bash --login
# Default workflow will run on all branches except releases
deploy-workflow: &deployWorkflow
  filters:
    branches:
      only:
        - develop

# Define the jobs we will be using
version: 2
jobs:
  deploy:
    <<: *defaultJob
    steps:
      - checkout
      - add_ssh_keys
      - restore_cache:
          key: gem-cache-{{ checksum "Gemfile.lock" }}-v2
      - run: bundle check || bundle install --path vendor/bundle
      - run:
          name: Get cocoapods master repo
          command: |
            curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s
      - run:
          name: Run Deploy
          command: ./scripts/run_deploy.sh
      - save_cache:
          key: gem-cache-{{ checksum "Gemfile.lock" }}-v2
          paths:
              - vendor/bundle

# Define the full workflow.
workflows:
  version: 2
  test-lint:
    jobs:
      - deploy:
          <<: *deployWorkflow

####
# Default job.
# This job simply defines the iOS image, some environment variables
# and stuff that all jobs should have
##
default: &defaultJob
  # Set the xcode version this virtual machine will use
  macos:
    xcode: "10.1"
  # We need to set this for RVM.
  shell: /bin/bash --login
# Default workflow will run on all branches except releases
deploy-workflow: &deployWorkflow
  filters:
    branches:
      only:
        - develop

# Define the jobs we will be using
version: 2
jobs:
  deploy:
    <<: *defaultJob
    steps:
      - checkout
      - add_ssh_keys
      - restore_cache:
          key: gem-cache-{{ checksum "Gemfile.lock" }}-v2
      - run: bundle check || bundle install --path vendor/bundle
      - run:
          name: Get cocoapods master repo
          command: |
            curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s
      - run:
          name: Run Deploy
          command: ./scripts/run_deploy.sh
      - save_cache:
          key: gem-cache-{{ checksum "Gemfile.lock" }}-v2
          paths:
              - vendor/bundle

# Define the full workflow.
workflows:
  version: 2
  test-lint:
    jobs:
      - deploy:
          <<: *deployWorkflow

Update CI for build with XCode 10.1 [ci deploy]
Update CI for build with XCode 10.1 [ci deploy]