From 2de3c69950dddb6692564756a7e347870e4416ad Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Tue, 10 Mar 2020 08:59:39 -0700 Subject: [PATCH] Lower requirement of flipper-react-native to iOS 9.0 Summary: In line with, https://github.com/facebook/flipper/pull/874/files, the package should promote itself as iOS 9.0 compatibe, to prevent errors and warnings like: ``` mweststrate-mbp:ios mweststrate$ pod install Detected React Native module pod for react-native-flipper Analyzing dependencies Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec` Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec` [!] CocoaPods could not find compatible versions for pod "react-native-flipper": In Podfile: react-native-flipper (from `../node_modules/react-native-flipper`) Specs satisfying the `react-native-flipper (from `../node_modules/react-native-flipper`)` dependency were found, but they required a higher minimum deployment target. ``` ``` mweststrate-mbp:ios mweststrate$ pod install Detected React Native module pod for react-native-flipper Analyzing dependencies Downloading dependencies Installing react-native-flipper 0.33.1 Generating Pods project Integrating client project Pod installation complete! There are 34 dependencies from the Podfile and 38 total pods installed. [!] The platform of the target `ReactNativeFlipperExample` (iOS 9.0) may not be compatible with `react-native-flipper (0.33.1)` which has a minimum requirement of iOS 10.0. [!] The platform of the target `ReactNativeFlipperExampleTests` (iOS 9.0) may not be compatible with `react-native-flipper (0.33.1)` which has a minimum requirement of iOS 10.0. mweststrate-mbp:ios mweststrate$ cd .. mweststrate-mbp:ReactNativeFlipperExample ``` Reviewed By: passy Differential Revision: D20362156 fbshipit-source-id: 766d033f2ea2e5559a72a3473115bc4a470a284f --- react-native/react-native-flipper/react-native-flipper.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native/react-native-flipper/react-native-flipper.podspec b/react-native/react-native-flipper/react-native-flipper.podspec index d1e03890b..1645d93c8 100644 --- a/react-native/react-native-flipper/react-native-flipper.podspec +++ b/react-native/react-native-flipper/react-native-flipper.podspec @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.license = "MIT" s.license = { :type => "MIT", :file => "LICENSE" } s.authors = { "Michel Weststrate" => "mweststrate@fb.com" } - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "9.0" } s.source = { :git => "https://github.com/facebook/flipper.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,swift}"