From df342bfde4018a57b4bbef05378a7749d89bd7ac Mon Sep 17 00:00:00 2001 From: Alan Lee Date: Wed, 1 Apr 2026 09:54:37 -0700 Subject: [PATCH] Add React-Core-prebuilt and ReactNativeDependencies to pod update command (#56297) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56297 React-Core-prebuilt and ReactNativeDependencies are new prebuilt pods that may not exist in the checked-in Podfile.lock. When CI runs `pod update hermes-engine`, CocoaPods resolves all pods in the Podfile, but `pod update` cannot handle pods that aren't already installed in the sandbox — it fails with "Pods React-Core-prebuilt, ReactNativeDependencies are not installed and cannot be updated". This error is seen in CI jobs when updating to a new RC tag in a release branch; https://github.com/facebook/react-native/actions/runs/23755047813/job/69243975080 The fix splits the CocoaPods step into two commands: 1. `pod install` — installs all pods from the Podfile, including any new prebuilt pods not yet in the Podfile.lock 2. `pod update hermes-engine` — unlocks and updates hermes-engine to the nightly version (needed because `pod install` respects the locked version in Podfile.lock) Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D98989657 --- .github/actions/test-ios-rntester/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/test-ios-rntester/action.yml b/.github/actions/test-ios-rntester/action.yml index 3d6d83b3b6e7..18790f64e930 100644 --- a/.github/actions/test-ios-rntester/action.yml +++ b/.github/actions/test-ios-rntester/action.yml @@ -75,6 +75,7 @@ runs: cd packages/rn-tester bundle install + bundle exec pod install --no-repo-update bundle exec pod update hermes-engine --no-repo-update - name: Build RNTester shell: bash