From 674b591809cd1275b5f1c4d203c2f0ec52303396 Mon Sep 17 00:00:00 2001 From: Kevin Gozali Date: Thu, 2 Jan 2020 12:49:45 -0800 Subject: [PATCH] iOS: Deprecate iOS 9 / tvOS 9 SDK support Summary: It is time to target SDK version 10.0+. Changelog: [iOS] [Deprecated] - Deprecating support for iOS/tvOS SDK 9.x, 10.0+ is now required Reviewed By: mdvacca Differential Revision: D19265731 fbshipit-source-id: 93b6f9e8f61c5b36ff69e80d3f18256aa96cc2c0 --- Libraries/ART/React-ART.podspec | 2 +- .../React-RCTActionSheet.podspec | 2 +- Libraries/Blob/React-RCTBlob.podspec | 2 +- Libraries/FBLazyVector/FBLazyVector.podspec | 2 +- .../FBReactNativeSpec.podspec | 2 +- Libraries/Image/React-RCTImage.podspec | 2 +- Libraries/LinkingIOS/React-RCTLinking.podspec | 2 +- .../React-RCTAnimation.podspec | 2 +- Libraries/Network/React-RCTNetwork.podspec | 2 +- .../React-RCTPushNotification.podspec | 2 +- Libraries/RCTRequired/RCTRequired.podspec | 2 +- Libraries/Settings/React-RCTSettings.podspec | 2 +- Libraries/Text/React-RCTText.podspec | 4 +- Libraries/TypeSafety/RCTTypeSafety.podspec | 2 +- .../Vibration/React-RCTVibration.podspec | 2 +- RNTester/Podfile | 2 +- RNTester/Podfile.lock | 52 +++++++++---------- RNTester/RCTTest/React-RCTTest.podspec | 2 +- React-Core.podspec | 2 +- React.podspec | 2 +- React/CoreModules/React-CoreModules.podspec | 2 +- React/React-RCTFabric.podspec | 4 +- ReactCommon/React-Fabric.podspec | 2 +- ReactCommon/ReactCommon.podspec | 2 +- ReactCommon/cxxreact/React-cxxreact.podspec | 2 +- .../fabric/graphics/React-graphics.podspec | 2 +- ReactCommon/jsi/React-jsi.podspec | 2 +- .../jsiexecutor/React-jsiexecutor.podspec | 2 +- .../jsinspector/React-jsinspector.podspec | 2 +- ReactCommon/yoga/Yoga.podspec | 2 +- template/ios/Podfile | 2 +- third-party-podspecs/DoubleConversion.podspec | 2 +- third-party-podspecs/Folly.podspec | 2 +- third-party-podspecs/glog.podspec | 2 +- 34 files changed, 61 insertions(+), 61 deletions(-) diff --git a/Libraries/ART/React-ART.podspec b/Libraries/ART/React-ART.podspec index 1a299cbc7e782a..a21710e6277c9d 100644 --- a/Libraries/ART/React-ART.podspec +++ b/Libraries/ART/React-ART.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "**/*.{m}" s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" diff --git a/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec b/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec index 5a9226e5d119b4..a24d109f3167e5 100644 --- a/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec +++ b/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec @@ -24,7 +24,7 @@ Pod::Spec.new do |s| s.documentation_url = "https://facebook.github.io/react-native/docs/actionsheetios" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "*.{m}" s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" diff --git a/Libraries/Blob/React-RCTBlob.podspec b/Libraries/Blob/React-RCTBlob.podspec index 19dc87b1fa029e..5d2dfb8f0a458b 100644 --- a/Libraries/Blob/React-RCTBlob.podspec +++ b/Libraries/Blob/React-RCTBlob.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/FBLazyVector/FBLazyVector.podspec b/Libraries/FBLazyVector/FBLazyVector.podspec index 06ec27df91bdfe..b4645e1d49b6a4 100644 --- a/Libraries/FBLazyVector/FBLazyVector.podspec +++ b/Libraries/FBLazyVector/FBLazyVector.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "**/*.{c,h,m,mm,cpp}" s.header_dir = "FBLazyVector" diff --git a/Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec b/Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec index b066e37f00cd12..05ba43be3fef62 100644 --- a/Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec +++ b/Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "**/*.{c,h,m,mm,cpp}" diff --git a/Libraries/Image/React-RCTImage.podspec b/Libraries/Image/React-RCTImage.podspec index 89ddc7cfbaaac7..a3203ceb923dc2 100644 --- a/Libraries/Image/React-RCTImage.podspec +++ b/Libraries/Image/React-RCTImage.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.documentation_url = "https://facebook.github.io/react-native/docs/image" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/LinkingIOS/React-RCTLinking.podspec b/Libraries/LinkingIOS/React-RCTLinking.podspec index defd28978483a0..aa7a453867938a 100644 --- a/Libraries/LinkingIOS/React-RCTLinking.podspec +++ b/Libraries/LinkingIOS/React-RCTLinking.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.documentation_url = "https://facebook.github.io/react-native/docs/linking" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/NativeAnimation/React-RCTAnimation.podspec b/Libraries/NativeAnimation/React-RCTAnimation.podspec index fa61bffc71a492..0d4e31856b7286 100644 --- a/Libraries/NativeAnimation/React-RCTAnimation.podspec +++ b/Libraries/NativeAnimation/React-RCTAnimation.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "{Drivers/*,Nodes/*,*}.{m,mm}" diff --git a/Libraries/Network/React-RCTNetwork.podspec b/Libraries/Network/React-RCTNetwork.podspec index 2d93f53743df42..1ad35ca2c97962 100644 --- a/Libraries/Network/React-RCTNetwork.podspec +++ b/Libraries/Network/React-RCTNetwork.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec b/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec index dd60fb15859f82..9df963bac1e529 100644 --- a/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +++ b/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.documentation_url = "https://facebook.github.io/react-native/docs/pushnotificationios" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/RCTRequired/RCTRequired.podspec b/Libraries/RCTRequired/RCTRequired.podspec index 22ebeab1f10696..8762aaf044a115 100644 --- a/Libraries/RCTRequired/RCTRequired.podspec +++ b/Libraries/RCTRequired/RCTRequired.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "**/*.{c,h,m,mm,cpp}" s.header_dir = "RCTRequired" diff --git a/Libraries/Settings/React-RCTSettings.podspec b/Libraries/Settings/React-RCTSettings.podspec index 119e70fd7f53a1..8e9114d82c3bb6 100644 --- a/Libraries/Settings/React-RCTSettings.podspec +++ b/Libraries/Settings/React-RCTSettings.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.documentation_url = "https://facebook.github.io/react-native/docs/settings" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/Text/React-RCTText.podspec b/Libraries/Text/React-RCTText.podspec index 4f8bc55b730ff1..e3bf11bc27885b 100644 --- a/Libraries/Text/React-RCTText.podspec +++ b/Libraries/Text/React-RCTText.podspec @@ -19,12 +19,12 @@ end Pod::Spec.new do |s| s.name = "React-RCTText" s.version = version - s.summary = "A React component for displaying text." + s.summary = "A React component for displaying text." s.homepage = "http://facebook.github.io/react-native/" s.documentation_url = "https://facebook.github.io/react-native/docs/text" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "**/*.{h,m}" s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" diff --git a/Libraries/TypeSafety/RCTTypeSafety.podspec b/Libraries/TypeSafety/RCTTypeSafety.podspec index d8369138489128..1115a5e7f259f6 100644 --- a/Libraries/TypeSafety/RCTTypeSafety.podspec +++ b/Libraries/TypeSafety/RCTTypeSafety.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags s.source = source s.source_files = "**/*.{c,h,m,mm,cpp}" diff --git a/Libraries/Vibration/React-RCTVibration.podspec b/Libraries/Vibration/React-RCTVibration.podspec index 003cce352dd701..bc91c8131c2cc2 100644 --- a/Libraries/Vibration/React-RCTVibration.podspec +++ b/Libraries/Vibration/React-RCTVibration.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.documentation_url = "https://facebook.github.io/react-native/docs/vibration" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/RNTester/Podfile b/RNTester/Podfile index d7fa6188ad4f20..a23083429b06b6 100644 --- a/RNTester/Podfile +++ b/RNTester/Podfile @@ -1,4 +1,4 @@ -platform :ios, '9.0' +platform :ios, '10.0' require_relative '../scripts/autolink-ios' diff --git a/RNTester/Podfile.lock b/RNTester/Podfile.lock index 0f826653eec39d..24edf502948a6c 100644 --- a/RNTester/Podfile.lock +++ b/RNTester/Podfile.lock @@ -377,34 +377,34 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2 - FBLazyVector: 34431b7e61740bed29b082ff81500b0ffafaffa0 - FBReactNativeSpec: e9febd2d5cc091662f172724165922b2e28d10a3 + FBLazyVector: 9806caa151956ce2238f70bde6649a6e3468d2c2 + FBReactNativeSpec: 4612edcbf25240e05263399a484cb14bf513872c Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 glog: 1f3da668190260b06b429bb211bfbee5cd790c28 - RCTRequired: 33f3b89d2d82ef01c02b9b4f8146c43762e509d8 - RCTTypeSafety: 2b1cb2d92b779aa9a3522f67bd4f07e6b6d0797e - React: 28a654b69575941571c073a656bc06795825e7f7 - React-ART: a5da06a892342d03896e0db45a7072525981f63c - React-Core: f8656b21cfe16b1fe276686f3b921bce0fa6de4d - React-CoreModules: 96b2f1e0b84493e6c1b7f3bb21357f24fdcfce2f - React-cxxreact: 7c4242192149ce0205b53efaa03e3bf86ba4337c - React-jsi: 98d1f9d8a79d2720ba6a44c2d928a77f315b7e4f - React-jsiexecutor: c0ab8c80a6e88380d63f583690a50d4a723b47b5 - React-jsinspector: ea0a218071a11c3687cef2480580180caa6a64c0 - React-RCTActionSheet: 090e7bd7c5774d919c47c4eeff78223a7fd8c19c - React-RCTAnimation: 891c2b3404c214dc19faee57b5f249da6deeb099 - React-RCTBlob: 8df793b30385b7ffe7e6703651043bad369cd756 - React-RCTImage: 3ee9a6cd02c7741ebe3a001d51a18c349019778f - React-RCTLinking: 7ccb8f6dcfd4b95b68a73119aca7bca9fa530b08 - React-RCTNetwork: 565fa6cc6108db9210fe5774f04ce52edccbb8ed - React-RCTPushNotification: 494ccfc569e2a699c0cc1a816eaebf8197a2ebc8 - React-RCTSettings: 8138286da8de74839cb436dd37704ed64d4bfe78 - React-RCTTest: d148e0657ce77ffd43a10325c284f47f25fb0532 - React-RCTText: 9078167d3bc011162326f2d8ef4dd580ec1eca17 - React-RCTVibration: e3269787c533de8c4f54f489202d848fdef33e1d - ReactCommon: 9d212865526209dc2d01be40340c8d27b53e6bea - Yoga: d88d8b51ee5b247f43211e2edf272438df1b484f + RCTRequired: f04f9813bccb37099f642722b46e879fc47c7e78 + RCTTypeSafety: a905fc5bfde67305e22588fb5178289bc8bc6be7 + React: 7b262249ab4afa1d300c9e90f50edcc2a5f72bcd + React-ART: 25a40dbfb785ceec6ca41d5bd1ec997ca8c01f17 + React-Core: 0d8d3b586d79f3b3a7abe343859892e221e04cf0 + React-CoreModules: fe786aebce0ef3bd1f3b7344006c889c9e367ce8 + React-cxxreact: 74202227dfa3cb53b7a085508822c687808d2c3f + React-jsi: f22b7604a5e7faf347a2293ac050c4ef495cb92f + React-jsiexecutor: 705bd7d9524b27ddb02f7753f35509c812a93a02 + React-jsinspector: 5a11c19a7a267ea4a54f7082ca7834470f5c3fec + React-RCTActionSheet: 83587cdb4e14b9d986058a3acec8fc1cd9815b59 + React-RCTAnimation: be8e300a12f7946ca5a53f02668c98cd3a3fc973 + React-RCTBlob: 7bf1f010265a810ebe87e7a1746eac106d4de040 + React-RCTImage: 6bc83509a99a699606275338c486bf099ae4b1a0 + React-RCTLinking: 7b77eca020eaf222d19151f0f52cd6065cbc90ec + React-RCTNetwork: 7e268503e0fa1caa692990f1213bfdadfb4a3755 + React-RCTPushNotification: 9290035bbd9ecef15f03d760cc422a219b55be07 + React-RCTSettings: ae42816d1073cb8edd70c9ab32e29810a2bbceff + React-RCTTest: 80b44b7e8f5a30d9663c921adfb22a0b185e69f4 + React-RCTText: b3eb3514addd9b105c0edb05ed32333428ba2a52 + React-RCTVibration: 7ee1cf4f386ed200c70b2be1b09a744ab79861ba + ReactCommon: ee43d06925ecaa2fc7a9d5d07adc2f77c9d65c72 + Yoga: f7fa200d8c49f97b54c9421079e781fb900b5cae -PODFILE CHECKSUM: 060903e270072f1e192b064848e6c34528af1c87 +PODFILE CHECKSUM: fa397603c9a8f7cb49d7edc7fe85536d0789f34f COCOAPODS: 1.8.4 diff --git a/RNTester/RCTTest/React-RCTTest.podspec b/RNTester/RCTTest/React-RCTTest.podspec index d98d16d8c84c60..d78745212024c0 100644 --- a/RNTester/RCTTest/React-RCTTest.podspec +++ b/RNTester/RCTTest/React-RCTTest.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "**/*.{h,m}" s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" diff --git a/React-Core.podspec b/React-Core.podspec index ccb27d8568daaf..7d6cc221f9b0d0 100644 --- a/React-Core.podspec +++ b/React-Core.podspec @@ -42,7 +42,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags s.header_dir = "React" diff --git a/React.podspec b/React.podspec index 1e3fba01f4cb38..a3482c991c4c9d 100644 --- a/React.podspec +++ b/React.podspec @@ -36,7 +36,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" s.cocoapods_version = ">= 1.2.0" diff --git a/React/CoreModules/React-CoreModules.podspec b/React/CoreModules/React-CoreModules.podspec index 5d8e2266012a78..5c1df0c2b7e30f 100644 --- a/React/CoreModules/React-CoreModules.podspec +++ b/React/CoreModules/React-CoreModules.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "**/*.{c,m,mm,cpp}" diff --git a/React/React-RCTFabric.podspec b/React/React-RCTFabric.podspec index 980cb4b4ee6fd6..19e0781a0cfa34 100644 --- a/React/React-RCTFabric.podspec +++ b/React/React-RCTFabric.podspec @@ -28,7 +28,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "Fabric/**/*.{c,h,m,mm,S,cpp}" s.exclude_files = "**/tests/*", @@ -38,7 +38,7 @@ Pod::Spec.new do |s| s.framework = "JavaScriptCore" s.library = "stdc++" s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Folly\" \"$(PODS_ROOT)/Headers/Private/React-Core\"" } - s.xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/Folly\"", + s.xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/Folly\"", "OTHER_CFLAGS" => "$(inherited) -DRN_FABRIC_ENABLED" + " " + folly_flags } s.dependency "React-Core", version diff --git a/ReactCommon/React-Fabric.podspec b/ReactCommon/React-Fabric.podspec index 3c97712f950f7c..7beeb9e31a9a8d 100644 --- a/ReactCommon/React-Fabric.podspec +++ b/ReactCommon/React-Fabric.podspec @@ -28,7 +28,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.prepare_command = File.read("../scripts/generate-rncore.sh") s.source_files = "dummyFile.cpp" diff --git a/ReactCommon/ReactCommon.podspec b/ReactCommon/ReactCommon.podspec index 019e8ed94032ae..11d4ae5d1ba27c 100644 --- a/ReactCommon/ReactCommon.podspec +++ b/ReactCommon/ReactCommon.podspec @@ -28,7 +28,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.header_dir = "ReactCommon" # Use global header_dir for all subspecs for use_frameworks! compatibility s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags diff --git a/ReactCommon/cxxreact/React-cxxreact.podspec b/ReactCommon/cxxreact/React-cxxreact.podspec index b9912a6387cb13..777b1a71b14225 100644 --- a/ReactCommon/cxxreact/React-cxxreact.podspec +++ b/ReactCommon/cxxreact/React-cxxreact.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "*.{cpp,h}" s.exclude_files = "SampleCxxModule.*" diff --git a/ReactCommon/fabric/graphics/React-graphics.podspec b/ReactCommon/fabric/graphics/React-graphics.podspec index 7ea7bc62e2cafa..f1d9f4e1cad9b9 100644 --- a/ReactCommon/fabric/graphics/React-graphics.podspec +++ b/ReactCommon/fabric/graphics/React-graphics.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "9.0", :tvos => "10.0" } s.source = source s.library = "stdc++" s.compiler_flags = folly_compiler_flags diff --git a/ReactCommon/jsi/React-jsi.podspec b/ReactCommon/jsi/React-jsi.podspec index ff31e6b99b6ed8..4b9a37eb00dd79 100644 --- a/ReactCommon/jsi/React-jsi.podspec +++ b/ReactCommon/jsi/React-jsi.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "**/*.{cpp,h}" s.exclude_files = "**/test/*" diff --git a/ReactCommon/jsiexecutor/React-jsiexecutor.podspec b/ReactCommon/jsiexecutor/React-jsiexecutor.podspec index 658ca4925dd033..22de3022495706 100644 --- a/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +++ b/ReactCommon/jsiexecutor/React-jsiexecutor.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "jsireact/*.{cpp,h}" s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags diff --git a/ReactCommon/jsinspector/React-jsinspector.podspec b/ReactCommon/jsinspector/React-jsinspector.podspec index 5830d9c92c7b80..0d9cf57182ee40 100644 --- a/ReactCommon/jsinspector/React-jsinspector.podspec +++ b/ReactCommon/jsinspector/React-jsinspector.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.homepage = "http://facebook.github.io/react-native/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "9.2" } + s.platforms = { :ios => "10.0", :tvos => "10.0" } s.source = source s.source_files = "*.{cpp,h}" s.header_dir = 'jsinspector' diff --git a/ReactCommon/yoga/Yoga.podspec b/ReactCommon/yoga/Yoga.podspec index 82051b0e8ee58d..b0a69cbb9b603a 100644 --- a/ReactCommon/yoga/Yoga.podspec +++ b/ReactCommon/yoga/Yoga.podspec @@ -43,7 +43,7 @@ Pod::Spec.new do |spec| ] # Pinning to the same version as React.podspec. - spec.platforms = { :ios => "9.0", :tvos => "9.2" } + spec.platforms = { :ios => "10.0", :tvos => "10.0" } # Set this environment variable when *not* using the `:path` option to install the pod. # E.g. when publishing this spec to a spec repo. diff --git a/template/ios/Podfile b/template/ios/Podfile index 11b121d6a5ae9b..e20ae8066264a6 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -1,4 +1,4 @@ -platform :ios, '9.0' +platform :ios, '10.0' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' # Add Flipper Pods diff --git a/third-party-podspecs/DoubleConversion.podspec b/third-party-podspecs/DoubleConversion.podspec index 344e224a649e6f..fb337a96f70648 100644 --- a/third-party-podspecs/DoubleConversion.podspec +++ b/third-party-podspecs/DoubleConversion.podspec @@ -19,6 +19,6 @@ Pod::Spec.new do |spec| spec.compiler_flags = '-Wno-unreachable-code' # Pinning to the same version as React.podspec. - spec.platforms = { :ios => "9.0", :tvos => "9.2" } + spec.platforms = { :ios => "10.0", :tvos => "10.0" } end diff --git a/third-party-podspecs/Folly.podspec b/third-party-podspecs/Folly.podspec index 937404bab27a35..e03ce5a0257aa4 100644 --- a/third-party-podspecs/Folly.podspec +++ b/third-party-podspecs/Folly.podspec @@ -71,5 +71,5 @@ Pod::Spec.new do |spec| end # Pinning to the same version as React.podspec. - spec.platforms = { :ios => "9.0", :tvos => "9.2" } + spec.platforms = { :ios => "10.0", :tvos => "10.0" } end diff --git a/third-party-podspecs/glog.podspec b/third-party-podspecs/glog.podspec index d814e367f36148..b5f29e538d0eab 100644 --- a/third-party-podspecs/glog.podspec +++ b/third-party-podspecs/glog.podspec @@ -34,6 +34,6 @@ Pod::Spec.new do |spec| "HEADER_SEARCH_PATHS" => "$(PODS_TARGET_SRCROOT)/src" } # Pinning to the same version as React.podspec. - spec.platforms = { :ios => "9.0", :tvos => "9.2" } + spec.platforms = { :ios => "10.0", :tvos => "10.0" } end