From 4b2357d993a647ad698bd03103fc9c0b1accb6c2 Mon Sep 17 00:00:00 2001 From: Andrew Vyazovoy Date: Tue, 5 Feb 2019 01:10:28 -0500 Subject: [PATCH] Remove automatic `React` version detection due to inability to access external file --- ReactNativeExceptionHandler.podspec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ReactNativeExceptionHandler.podspec b/ReactNativeExceptionHandler.podspec index 757b803..15e8d4a 100644 --- a/ReactNativeExceptionHandler.podspec +++ b/ReactNativeExceptionHandler.podspec @@ -8,8 +8,6 @@ end # Let the main package.json decide the version number for the pod package_version = pkg_version.call -# Use the same RN version that the JS tools use -react_native_version = pkg_version.call('../react-native') Pod::Spec.new do |s| s.name = "ReactNativeExceptionHandler" @@ -26,6 +24,6 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/master-atul/react-native-exception-handler.git", :tag => s.version.to_s } s.source_files = "ios/*.{h,m}" - s.dependency "React", react_native_version + s.dependency "React" end