Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pod install with --project-directory (#35754)
Summary: The variable `version` is previously used but in 2344860#diff-adcf572f001c2b710d14f409c14763f1a50b08369b3034548f1602685d21f67f, its usage have been removed the but the variable is kept. It also raises an error when using `bundle exec pod install --project-directory=ios` which works on `0.70.X` and below. ```txt No such file or directory @ rb_sysopen - ../node_modules/react-native/package.json /Users/davidangulo/Desktop/mobile/myapp/node_modules/react-native/scripts/react_native_pods.rb:212:in `read' /Users/davidangulo/Desktop/mobile/myapp/node_modules/react-native/scripts/react_native_pods.rb:212:in `react_native_post_install' ``` ## Changelog [IOS] [FIXED] - pod install with --project-directory Pull Request resolved: #35754 Test Plan: `bundle exec pod install --project-directory=ios` should not raise an error. Reviewed By: christophpurrer Differential Revision: D42298517 Pulled By: rshest fbshipit-source-id: bef0b03312d2029188ae5437e3baf3ffce5cb73f
- Loading branch information