Skip to content

Commit

Permalink
fix: pod install with --project-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dcangulo committed Dec 31, 2022
1 parent 4923a09 commit e93b7e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e93b7e9

Please sign in to comment.