Skip to content

Commit 6a7485a

Browse files
authored
Add a workaround to tvOS testapp build (#1018)
* Add a workaround to tvOS testapp build * Update integration_tests.yml
1 parent d457936 commit 6a7485a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/integration_tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ jobs:
203203
username: ${{ secrets.UNITY_USERNAME }}
204204
password: ${{ secrets.UNITY_PASSWORD }}
205205
serial_ids: ${{ secrets.SERIAL_ID }}
206+
- name: Workaround tvOS XCode 15 issue
207+
if: ${{ contains(matrix.platform, 'tvOS') && contains(matrix.unity_version, '2020') }}
208+
shell: bash
209+
run: |
210+
find /Applications/Unity/Hub/Editor -type f -name 'UnityViewControllerBase.h' -exec sed -i '' 's/#import <GameController\/GCController.h>/#import <GameController\/GCEventViewController.h>/g' {} \;
206211
- name: Prepare for integration tests
207212
timeout-minutes: 10
208213
shell: bash

0 commit comments

Comments
 (0)