From 6de1ef775474afe1ec2bdfdb2e3ede3856a97ec1 Mon Sep 17 00:00:00 2001 From: 821wkli <42508279+821wkli@users.noreply.github.com> Date: Tue, 14 Dec 2021 00:47:27 +0800 Subject: [PATCH] Fixed build error on Xcode 12 --- ios/Podfile | 7 ++++++- package.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ios/Podfile b/ios/Podfile index 503b468..e8c8675 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -17,8 +17,13 @@ target 'reactnative_eyepetizer' do # # Note that if you have use_frameworks! enabled, Flipper will not work and # you should disable these next few lines. - use_flipper! + use_flipper!({ 'Flipper' => '0.125.0' }) post_install do |installer| + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0' + end + end flipper_post_install(installer) end end diff --git a/package.json b/package.json index e0a4b77..8767a90 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "react-native-tab-view": "^2.15.2", "react-native-vector-icons": "^7.1.0", "react-native-video": "^5.1.0-alpha8", - "react-native-webview": "^11.0.2", + "react-native-webview": "^11.14.3", "react-redux": "^7.2.2" }, "devDependencies": {