I’m trying to migrate my iOS project to Circle 2.0 but I’m facing the following error during the fastlane scan step:
Here’s my config.yml:
version: 2 jobs: build: docker: - image: circleci/ruby:2.3 macos: xcode: "9.0" shell: /bin/bash --login -o pipefail steps: - checkout - run: name: Fetch CocoaPods Specs command: | curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf - run: name: Install CocoaPods command: | bundle install bundle exec pod install - run: name: Build and run tests command: bundle exec fastlane scan environment: SCAN_DEVICE: iPhone 8 SCAN_SCHEME: VivaRealIPhoneSearcherApp
Does someone have any idea why it is happening? It looks like CircleCI is unable to find xcodebuild in the machine. CircleCI 1.0 is working as expected in the same project.
Thanks in advance,