You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e4dd74
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/carplay.yml
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -31,11 +31,10 @@ jobs:
31
31
- name: Build
32
32
env:
33
33
scheme: ${{ 'default' }}
34
-
platform: ${{ 'iOS Simulator' }}
35
34
run: |
36
-
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
37
-
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"`
35
+
# Generic simulator destination: no dependency on which simulator
36
+
# runtimes the runner image ships (device-name matching is flaky)
38
37
if [ $scheme = default ]; then scheme=$(cat default); fi
39
38
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
Copy file name to clipboardExpand all lines: .github/workflows/ios.yml
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,13 @@ jobs:
31
31
- name: Build
32
32
env:
33
33
scheme: ${{ 'default' }}
34
-
platform: ${{ 'iOS Simulator' }}
35
34
run: |
36
-
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
37
-
device=`xcrun xctrace list devices 2>&1 | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}' | sed -e "s/ Simulator$//"`
35
+
# Generic simulator destination: no dependency on which simulator
36
+
# runtimes the runner image ships (device-name matching is flaky)
38
37
if [ $scheme = default ]; then scheme=$(cat default); fi
39
38
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
0 commit comments