From e93b7e966f330cbad6e13a311f78f7174224d64c Mon Sep 17 00:00:00 2001 From: David Angulo Date: Sat, 31 Dec 2022 11:05:43 +0800 Subject: [PATCH] fix: pod install with --project-directory --- scripts/react_native_pods.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/react_native_pods.rb b/scripts/react_native_pods.rb index 82d48cef76cd48..bfba4dee6cd163 100644 --- a/scripts/react_native_pods.rb +++ b/scripts/react_native_pods.rb @@ -209,9 +209,6 @@ def react_native_post_install(installer, react_native_path = "../node_modules/re flipper_post_install(installer) end - package = JSON.parse(File.read(File.join(react_native_path, "package.json"))) - version = package['version'] - ReactNativePodsUtils.exclude_i386_architecture_while_using_hermes(installer) ReactNativePodsUtils.fix_library_search_paths(installer) ReactNativePodsUtils.set_node_modules_user_settings(installer, react_native_path)