File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124124 runs-on : macos-latest
125125
126126 env :
127- XCODE_VERSION : 16.3
127+ XCODE_VERSION : latest-stable
128128 TURBO_CACHE_DIR : .turbo/ios
129129 RCT_USE_RN_DEP : 1
130130 RCT_USE_PREBUILT_RNCORE : 1
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ if [ -z "$readelf_cmd" ]; then
4343 exit 1
4444fi
4545
46+ readelf_args=(-l -W)
4647files=()
4748if command -v rg > /dev/null 2>&1 ; then
4849 rg_load_align () { rg -n " LOAD|Align" ; }
@@ -62,7 +63,7 @@ if [ "${#files[@]}" -eq 0 ]; then
6263fi
6364
6465for so in " ${files[@]} " ; do
65- if ! " $readelf_cmd " -l " $so " | awk '
66+ if ! " $readelf_cmd " " ${readelf_args[@]} " " $so " | awk '
6667 $1=="LOAD" { load=1; if ($NF!="0x4000") bad=1 }
6768 END { if (!load) exit 2; exit bad }
6869 ' ; then
@@ -72,7 +73,7 @@ for so in "${files[@]}"; do
7273 else
7374 echo " ERROR: expected 16KB alignment (0x4000) for $so " >&2
7475 fi
75- " $readelf_cmd " -l " $so " | rg_load_align || true
76+ " $readelf_cmd " " ${readelf_args[@]} " " $so " | rg_load_align || true
7677 exit 1
7778 fi
7879done
You can’t perform that action at this time.
0 commit comments