Skip to content

Commit b4db632

Browse files
authored
fix(ios): fix pod install failing on 0.71 (#1253)
``` [!] An error occurred while processing the post-install hook of the Podfile. No such file or directory @ rb_sysopen - ../node_modules/react-native/package.json /~/node_modules/react-native/scripts/react_native_pods.rb:212:in `read' /~/node_modules/react-native/scripts/react_native_pods.rb:212:in `react_native_post_install' /~/node_modules/react-native-test-app/ios/use_react_native-0.70.rb:48:in `block in include_react_native!' ```
1 parent 0abbaf2 commit b4db632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/use_react_native-0.70.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def include_react_native!(options)
4545
Open3.popen3('node scripts/build.js', :chdir => codegen) if File.directory?(codegen)
4646

4747
lambda { |installer|
48-
react_native_post_install(installer)
48+
react_native_post_install(installer, react_native)
4949
if defined?(__apply_Xcode_12_5_M1_post_install_workaround)
5050
__apply_Xcode_12_5_M1_post_install_workaround(installer)
5151
end

0 commit comments

Comments
 (0)