Skip to content

Commit cc6c811

Browse files
alanleedevmeta-codesync[bot]
authored andcommitted
Add React-Core-prebuilt and ReactNativeDependencies to pod update command (facebook#56297)
Summary: Pull Request resolved: facebook#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
1 parent 654d646 commit cc6c811

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/actions/test-ios-rntester/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ runs:
7575
cd packages/rn-tester
7676
7777
bundle install
78-
bundle exec pod update hermes-engine --no-repo-update
78+
if [[ ${{ inputs.use-frameworks }} == "true" ]]; then
79+
bundle exec pod update hermes-engine --no-repo-update
80+
else
81+
bundle exec pod update hermes-engine React-Core-prebuilt ReactNativeDependencies --no-repo-update
82+
fi
7983
- name: Build RNTester
8084
shell: bash
8185
run: |

0 commit comments

Comments
 (0)