From 6a7485a35e76f56b7dc817b69eeb1647115efd5f Mon Sep 17 00:00:00 2001 From: a-maurice Date: Tue, 7 May 2024 16:23:04 -0700 Subject: [PATCH] Add a workaround to tvOS testapp build (#1018) * Add a workaround to tvOS testapp build * Update integration_tests.yml --- .github/workflows/integration_tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 98846002..94bbc8bb 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -203,6 +203,11 @@ jobs: username: ${{ secrets.UNITY_USERNAME }} password: ${{ secrets.UNITY_PASSWORD }} serial_ids: ${{ secrets.SERIAL_ID }} + - name: Workaround tvOS XCode 15 issue + if: ${{ contains(matrix.platform, 'tvOS') && contains(matrix.unity_version, '2020') }} + shell: bash + run: | + find /Applications/Unity/Hub/Editor -type f -name 'UnityViewControllerBase.h' -exec sed -i '' 's/#import /#import /g' {} \; - name: Prepare for integration tests timeout-minutes: 10 shell: bash