Skip to content

Commit

Permalink
fix(ios): fix pod install failing on 0.71 (#1253)
Browse files Browse the repository at this point in the history
```
[!] 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!'
```
  • Loading branch information
tido64 committed Jan 4, 2023
1 parent 0abbaf2 commit b4db632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/use_react_native-0.70.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def include_react_native!(options)
Open3.popen3('node scripts/build.js', :chdir => codegen) if File.directory?(codegen)

lambda { |installer|
react_native_post_install(installer)
react_native_post_install(installer, react_native)
if defined?(__apply_Xcode_12_5_M1_post_install_workaround)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
Expand Down

0 comments on commit b4db632

Please sign in to comment.