Skip to content

Commit b8c6dba

Browse files
committed
fix(ios): install cmake in ci_post_clone so pod install can load hermes-engine
Xcode Cloud archive got past the JS-bundle stage but ci_post_clone now fails at `pod install`: RN 0.86's hermes-engine.podspec calls which!('cmake') at podspec-load time (even with prebuilt Hermes), and the runner has no cmake. Add `brew install cmake` before pod install.
1 parent c02d772 commit b8c6dba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

clients/mobile/ios/ci_scripts/ci_post_clone.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ echo "export PATH=\"$GO122:\$PATH\"" >> "$HOME/.zprofile" || true
4646
ln -sf "$GO122/go" /usr/local/bin/go || sudo ln -sf "$GO122/go" /usr/local/bin/go || true
4747

4848
# --- CocoaPods ---
49+
# RN 0.86's hermes-engine.podspec resolves `which!('cmake')` when the podspec is
50+
# *loaded* (even though Hermes ships prebuilt and isn't built from source here),
51+
# so `pod install` aborts if cmake is missing. Xcode Cloud runners don't ship it.
52+
brew install cmake || true
4953
cd ios
5054
pod install --repo-update
5155

0 commit comments

Comments
 (0)