changeset 360:236fe7c301fe

Update ios.yml Change instruments (deprecated) to xcrun xctrace committer: GitHub <noreply@github.com>
author Dennis C. M. <dennis@denniscm.com>
date Fri, 16 Apr 2021 18:53:44 +0200
parents 3d6f0329d691
children d97d4d9e5f72
files .github/workflows/ios.yml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ios.yml	Fri Apr 16 18:20:31 2021 +0200
+++ b/.github/workflows/ios.yml	Fri Apr 16 18:53:44 2021 +0200
@@ -25,7 +25,7 @@
           scheme: ${{ 'default' }}
           platform: ${{ 'iOS Simulator' }}
         run: |
-          device=`instruments -s -devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
+          device=`xcrun xctrace list devices | grep -oE 'iPhone.*?[^\(]+' | head -1 | awk '{$1=$1;print}'`
           if [ $scheme = default ]; then scheme=$(cat default); fi
           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
           file_to_build=`echo $file_to_build | awk '{$1=$1;print}'`