Skip to content

Commit e93b7e9

Browse files
committed
fix: pod install with --project-directory
1 parent 4923a09 commit e93b7e9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/react_native_pods.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,6 @@ def react_native_post_install(installer, react_native_path = "../node_modules/re
209209
flipper_post_install(installer)
210210
end
211211

212-
package = JSON.parse(File.read(File.join(react_native_path, "package.json")))
213-
version = package['version']
214-
215212
ReactNativePodsUtils.exclude_i386_architecture_while_using_hermes(installer)
216213
ReactNativePodsUtils.fix_library_search_paths(installer)
217214
ReactNativePodsUtils.set_node_modules_user_settings(installer, react_native_path)

0 commit comments

Comments
 (0)