Skip to content

Commit d2ffcd0

Browse files
committed
ci: use latest-stable Xcode for iOS build
1 parent 0a03cdf commit d2ffcd0

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

scripts/check-16kb.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ if [ -z "$readelf_cmd" ]; then
4343
exit 1
4444
fi
4545

46+
readelf_args=(-l -W)
4647
files=()
4748
if 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
6263
fi
6364

6465
for 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
7879
done

0 commit comments

Comments
 (0)