Skip to content

Commit df342bf

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ runs:
7575
cd packages/rn-tester
7676
7777
bundle install
78+
bundle exec pod install --no-repo-update
7879
bundle exec pod update hermes-engine --no-repo-update
7980
- name: Build RNTester
8081
shell: bash

0 commit comments

Comments
 (0)