diff --git a/ios/Podfile b/ios/Podfile index ebb2ba3949f3..a27419c11553 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -23,6 +23,7 @@ target 'taroDemo' do post_install do |installer| find_and_replace("../node_modules/react-native/React/CoreModules/RCTDevLoadingView.mm","[self showOfflineMessage];","") find_and_replace("../node_modules/react-native/React/Base/RCTDefines.h","#define RCT_DEV 0", "#define RCT_DEV 1") + find_and_replace("../node_modules/react-native/React/Base/RCTKeyCommands.m", "#if RCT_DEV", "#if DEBUG") react_native_post_install(installer) end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a15cccf1f806..df4e4010dfc8 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -670,6 +670,6 @@ SPEC CHECKSUMS: Yoga: 575c581c63e0d35c9a83f4b46d01d63abc1100ac ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb -PODFILE CHECKSUM: 1dd30dd3ee33447d67f92bcbe482977467b1b58b +PODFILE CHECKSUM: 5c769abd1f33a7bf4e1065a6ae14581ec11870cb COCOAPODS: 1.10.1