# HG changeset patch # User Dennis C. M. # Date 1628149108 -3600 # Node ID 3600d1f4a37d7cff117f06b61b865d6967e56046 # Parent 599fe95307f66e4f142fb431b8741d0e6b31af3e Removed default scheme committer: GitHub diff -r 599fe95307f6 -r 3600d1f4a37d .github/workflows/ios.yml --- a/.github/workflows/ios.yml Wed Aug 04 21:33:52 2021 +0100 +++ b/.github/workflows/ios.yml Thu Aug 05 08:38:28 2021 +0100 @@ -14,15 +14,9 @@ steps: - name: Checkout uses: actions/checkout@v2 - - name: Set Default Scheme - run: | - scheme_list=$(xcodebuild -list -json | tr -d "\n") - default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['project']['targets'][0]") - echo $default | cat >default - echo Using default scheme: $default - name: Build env: - scheme: ${{ 'default' }} + scheme: ${{ 'Simoleon' }} platform: ${{ 'iOS Simulator' }} run: | # xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959) @@ -33,7 +27,7 @@ xcodebuild build-for-testing -scheme "$scheme" -"$filetype_parameter" "$file_to_build" -destination "platform=$platform,name=$device" - name: Test env: - scheme: ${{ 'default' }} + scheme: ${{ 'Tests' }} platform: ${{ 'iOS Simulator' }} run: | # xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)