version: 2
jobs:
  build:
    macos:
      xcode: '10.0.0'
    environment:
      LANG: en_US.UTF-8
      LC_ALL: en_US.UTF-8
      FASTLANE_DISABLE_ANIMATION: 1
      FASTLANE_SKIP_UPDATE_CHECK: 1
      SKIP_SLOW_FASTLANE_WARNING: 1
    steps:
    - checkout
    - run: xcodebuild -version -sdk
    - run: xcrun simctl list
    - run: make test_macOS
    - run: make test_tvOS
    - run: make test_iOS
    - run: make test_macOS_report
    - run: make test_tvOS_report
    - run: make test_iOS_report
    - run: make test_iOS_10
    - store_test_results:
        path: test_reports
    - store_artifacts:
        path: /Users/distiller/Library/Developer/Xcode/DerivedData/XCDYouTubeKit-byvnmvumvdztmngymdsxlhlsgpgd/Logs/Test
        destination: xcresults
    - store_artifacts:
        path: artifacts
        destination: buildlogs

version: 2
jobs:
  build:
    macos:
      xcode: '10.0.0'
    environment:
      LANG: en_US.UTF-8
      LC_ALL: en_US.UTF-8
      FASTLANE_DISABLE_ANIMATION: 1
      FASTLANE_SKIP_UPDATE_CHECK: 1
      SKIP_SLOW_FASTLANE_WARNING: 1
    steps:
    - checkout
    - run: xcodebuild -version -sdk
    - run: xcrun simctl list
    - run: make test_macOS
    - run: make test_tvOS
    - run: make test_iOS
    - run: make test_macOS_report
    - run: make test_tvOS_report
    - run: make test_iOS_report
    - store_test_results:
        path: test_reports
    - store_artifacts:
        path: /Users/distiller/Library/Developer/Xcode/DerivedData/XCDYouTubeKit-byvnmvumvdztmngymdsxlhlsgpgd/Logs/Test
        destination: xcresults
    - store_artifacts:
        path: artifacts
        destination: buildlogs

Revert "Re-enable testing on iOS 10"
Revert "Re-enable testing on iOS 10"

This reverts commit aa89454bf1b5e004f260aab0f99045c9def8f18b.

Even with full logs, it's impossible to diagnose this Xcode issue, so just give up on testing on an older simulator.
