From a1d626739d95d6cbbb1be169b93952cdd1465486 Mon Sep 17 00:00:00 2001 From: Peter Argany Date: Mon, 11 Jan 2021 16:43:51 -0800 Subject: [PATCH] Delete iOS10/tvOS10 support from React Native Libraries Summary: allow-large-files Changelog: [iOS] Remove iOS10/tvOS10 suppport Similar to D19265731 (https://github.com/facebook/react-native/commit/674b591809cd1275b5f1c4d203c2f0ec52303396) for iOS9. I just ran this command: `find . -type f -exec sed -i '' 's/{ :ios => "10.0" }/{ :ios => "11.0" }/' {} +` and then updated pods Reviewed By: fkgozali Differential Revision: D25693227 fbshipit-source-id: 0073d57ecbb268c52d21962cef202316857bcbd2 --- .../React-RCTActionSheet.podspec | 2 +- Libraries/FBLazyVector/FBLazyVector.podspec | 2 +- .../React-RCTAnimation.podspec | 2 +- Libraries/Network/React-RCTNetwork.podspec | 2 +- Libraries/Settings/React-RCTSettings.podspec | 2 +- .../Vibration/React-RCTVibration.podspec | 2 +- React.podspec | 2 +- ReactCommon/React-Fabric.podspec | 2 +- ReactCommon/ReactCommon.podspec | 2 +- ReactCommon/cxxreact/React-cxxreact.podspec | 2 +- ReactCommon/hermes/React-hermes.podspec | 2 +- ReactCommon/jsi/React-jsi.podspec | 2 +- .../jsiexecutor/React-jsiexecutor.podspec | 2 +- .../jsinspector/React-jsinspector.podspec | 2 +- .../renderer/graphics/React-graphics.podspec | 2 +- .../reactperflogger/React-perflogger.podspec | 2 +- .../React-runtimeexecutor.podspec | 2 +- ReactCommon/yoga/Yoga.podspec | 2 +- packages/rn-tester/Podfile | 2 +- packages/rn-tester/Podfile.lock | 42 +++++++++---------- .../rn-tester/RCTTest/React-RCTTest.podspec | 2 +- template/ios/Podfile | 4 +- 22 files changed, 43 insertions(+), 43 deletions(-) diff --git a/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec b/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec index 1fc93c03536570..7a318174f5d539 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://reactnative.dev/docs/actionsheetios" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.source = source s.source_files = "*.{m}" s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" diff --git a/Libraries/FBLazyVector/FBLazyVector.podspec b/Libraries/FBLazyVector/FBLazyVector.podspec index 925860e7e9f242..ec8b554df3476c 100644 --- a/Libraries/FBLazyVector/FBLazyVector.podspec +++ b/Libraries/FBLazyVector/FBLazyVector.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.source = source s.source_files = "**/*.{c,h,m,mm,cpp}" s.header_dir = "FBLazyVector" diff --git a/Libraries/NativeAnimation/React-RCTAnimation.podspec b/Libraries/NativeAnimation/React-RCTAnimation.podspec index cf09cbff7c0c05..547534b755b562 100644 --- a/Libraries/NativeAnimation/React-RCTAnimation.podspec +++ b/Libraries/NativeAnimation/React-RCTAnimation.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.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 e868267d51d079..09b7c6f0e7129e 100644 --- a/Libraries/Network/React-RCTNetwork.podspec +++ b/Libraries/Network/React-RCTNetwork.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/Settings/React-RCTSettings.podspec b/Libraries/Settings/React-RCTSettings.podspec index c9790ff0e8e29d..cfc8ab77c117f5 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://reactnative.dev/docs/settings" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/Libraries/Vibration/React-RCTVibration.podspec b/Libraries/Vibration/React-RCTVibration.podspec index 87e0659e4d1c4f..8e5b16875bde6a 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://reactnative.dev/docs/vibration" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "*.{m,mm}" diff --git a/React.podspec b/React.podspec index a6511d2d1aeadb..3fbfdae511f85b 100644 --- a/React.podspec +++ b/React.podspec @@ -36,7 +36,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.source = source s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs" s.cocoapods_version = ">= 1.2.0" diff --git a/ReactCommon/React-Fabric.podspec b/ReactCommon/React-Fabric.podspec index 5ffcdd2153741f..808158d0a3c0cb 100644 --- a/ReactCommon/React-Fabric.podspec +++ b/ReactCommon/React-Fabric.podspec @@ -28,7 +28,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.source = source s.source_files = "dummyFile.cpp" s.library = "stdc++" diff --git a/ReactCommon/ReactCommon.podspec b/ReactCommon/ReactCommon.podspec index c49fbd8c2c5459..e4b34411605933 100644 --- a/ReactCommon/ReactCommon.podspec +++ b/ReactCommon/ReactCommon.podspec @@ -28,7 +28,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.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 b31dfe6359fd7f..b43ff38be4ebcb 100644 --- a/ReactCommon/cxxreact/React-cxxreact.podspec +++ b/ReactCommon/cxxreact/React-cxxreact.podspec @@ -28,7 +28,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0", :tvos => "10.0" } + s.platforms = { :ios => "11.0", :tvos => "11.0" } s.source = source s.source_files = "*.{cpp,h}" s.exclude_files = "SampleCxxModule.*" diff --git a/ReactCommon/hermes/React-hermes.podspec b/ReactCommon/hermes/React-hermes.podspec index d28d3018f13e21..5a01efb3c070cc 100644 --- a/ReactCommon/hermes/React-hermes.podspec +++ b/ReactCommon/hermes/React-hermes.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :osx => "10.14", :ios => "10.0" } + s.platforms = { :osx => "10.14", :ios => "11.0" } s.source = source s.source_files = "executor/*.{cpp,h}", "inspector/*.{cpp,h}", diff --git a/ReactCommon/jsi/React-jsi.podspec b/ReactCommon/jsi/React-jsi.podspec index d250597b12721f..936188ed90bbc7 100644 --- a/ReactCommon/jsi/React-jsi.podspec +++ b/ReactCommon/jsi/React-jsi.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.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 45429c92bf325d..adb62a5789945a 100644 --- a/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +++ b/ReactCommon/jsiexecutor/React-jsiexecutor.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.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 f87cdeefe3aed5..9548daa306e20a 100644 --- a/ReactCommon/jsinspector/React-jsinspector.podspec +++ b/ReactCommon/jsinspector/React-jsinspector.podspec @@ -23,7 +23,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.source = source s.source_files = "*.{cpp,h}" s.header_dir = 'jsinspector' diff --git a/ReactCommon/react/renderer/graphics/React-graphics.podspec b/ReactCommon/react/renderer/graphics/React-graphics.podspec index aebbc2cd293267..be4b996c41bd65 100644 --- a/ReactCommon/react/renderer/graphics/React-graphics.podspec +++ b/ReactCommon/react/renderer/graphics/React-graphics.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "9.0", :tvos => "10.0" } + s.platforms = { :ios => "11.0", :tvos => "11.0" } s.source = source s.library = "stdc++" s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags diff --git a/ReactCommon/reactperflogger/React-perflogger.podspec b/ReactCommon/reactperflogger/React-perflogger.podspec index b620cbf0e270bb..b66d7a2a2224d5 100644 --- a/ReactCommon/reactperflogger/React-perflogger.podspec +++ b/ReactCommon/reactperflogger/React-perflogger.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.source = source s.source_files = "**/*.{cpp,h}" s.header_dir = "reactperflogger" diff --git a/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec b/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec index 152c1f639b205c..537020a16672f7 100644 --- a/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec +++ b/ReactCommon/runtimeexecutor/React-runtimeexecutor.podspec @@ -27,7 +27,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0" } + s.platforms = { :ios => "11.0" } s.source = source s.source_files = "**/*.{cpp,h}" s.header_dir = "ReactCommon" diff --git a/ReactCommon/yoga/Yoga.podspec b/ReactCommon/yoga/Yoga.podspec index b723a3410018da..20b8344304a886 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 => "10.0" } + spec.platforms = { :ios => "11.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/packages/rn-tester/Podfile b/packages/rn-tester/Podfile index 26ef7308a49665..63b8dc52935978 100644 --- a/packages/rn-tester/Podfile +++ b/packages/rn-tester/Podfile @@ -1,7 +1,7 @@ require_relative '../../scripts/react_native_pods' source 'https://cdn.cocoapods.org/' -platform :ios, '10.0' +platform :ios, '11.0' USE_FRAMEWORKS = ENV['USE_FRAMEWORKS'] == '1' diff --git a/packages/rn-tester/Podfile.lock b/packages/rn-tester/Podfile.lock index 35822c377965e2..7c64af416f7173 100644 --- a/packages/rn-tester/Podfile.lock +++ b/packages/rn-tester/Podfile.lock @@ -797,8 +797,8 @@ SPEC CHECKSUMS: CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845 CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f DoubleConversion: cde416483dac037923206447da6e1454df403714 - FBLazyVector: fe973c09b2299b5e8154186ecf1f6554b4f70987 - FBReactNativeSpec: d0504078deb2ffa0fbee5032382f4ef165a1c8a8 + FBLazyVector: 91e874a8823933a268c38765a88cbd5dba1fa024 + FBReactNativeSpec: 9b595c8d6225c3406ac3b61cad0e0dcd9c4ce82c Flipper: be611d4b742d8c87fbae2ca5f44603a02539e365 Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41 Flipper-Folly: e4493b013c02d9347d5e0cb4d128680239f6c78a @@ -808,37 +808,37 @@ SPEC CHECKSUMS: FlipperKit: ab353d41aea8aae2ea6daaf813e67496642f3d7d glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3 OpenSSL-Universal: ff34003318d5e1163e9529b08470708e389ffcdd - RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c + RCT-Folly: b39288cedafe50da43317ec7d91bcc8cc0abbf33 RCTRequired: d3d4ce60e1e2282864d7560340690a3c8c646de1 RCTTypeSafety: 4da4f9f218727257c50fd3bf2683a06cdb4fede3 - React: 87b3271d925336a94620915db5845c67c5dbbd77 + React: 63b1f2a4e0e908c95416fd54e9dcca5d409e2a45 React-callinvoker: e9524d75cf0b7ae108868f8d34c0b8d7dc08ec03 React-Core: 2b2a8ac8bfb65779965456570a871f4cf5e5e03a React-CoreModules: 87f011fa87190ffe979e443ce578ec93ec6ff4d4 - React-cxxreact: de6de17eac6bbaa4f9fad46b66e7f0c4aaaf863d - React-Fabric: 911e4b13fbffce46820f18c3a3b7a2a966e9e425 - React-graphics: 996d77a11e944cb0b3a5c67aefda1de5cb848e28 - React-jsi: 790da16b69a61adc36829eed43c44187c1488d10 - React-jsiexecutor: 17a3e26806bc19d8be7b6c83792bffc46df796be - React-jsinspector: 01db8cd098c7ab72bd09abdda522a08c9acd3af9 - React-perflogger: 37913fce32026582ad0244b585d1e52652fd01c0 - React-RCTActionSheet: e6562ea4df7099af4023d1bd0e9716e43b45a5c9 - React-RCTAnimation: fc2f655a64f0791879ab03843cca90c53737d1cb + React-cxxreact: 14cce64344ab482615dfe82a2cbea6eb73be6481 + React-Fabric: 1744b2e94f5ed2ab247f3a55fd9762d55ed63f3b + React-graphics: 246b8e6cb4aad51271358767c965e47d692921ab + React-jsi: 08c6628096d2025d4085fbaec8fe14a3c9dc667c + React-jsiexecutor: 896c41b04121803e4ee61e4c9ed0900fdb420fea + React-jsinspector: 52fe8073736a97304c9bc61a5bbae8b66ca55701 + React-perflogger: e5c447a0435eb9cdd1e5cd692a48b5c5463406b0 + React-RCTActionSheet: 555656ac47e1b81d986a3822e22c374523e0ed17 + React-RCTAnimation: 639d6784188ee28b3cbb5c4915f18fb63b816a46 React-RCTBlob: 5f82467e5d3bef65d05cdd900df6e12b0849744a React-RCTFabric: 7a25f04616e0bcdcda4279a93b42e80ee69b46be React-RCTImage: f3a98834281555ce1bbbe1af0306aaf40ac70fc7 React-RCTLinking: 801d05ad5e6d1636e977f4dfeab21f87358a02a5 - React-RCTNetwork: b5e2f27a098ca52d98426328640314a499da6d00 + React-RCTNetwork: 088b12d5836099ab1e1bd25fc6c8eb07689e7138 React-RCTPushNotification: ce60993f816f917a6495227e16978b5fd550d73b - React-RCTSettings: 3cb638230af06ba769edc0bc4ed4123040b1b4e2 - React-RCTTest: 090e9816044220c39462be109dab6d473d94b1c9 + React-RCTSettings: 3ff97019291c40903d88ed062642a4fe07d2971d + React-RCTTest: 19f1b769a4bd35ca36bc48645fb218441fc8277d React-RCTText: 51a41bf9d18a91b2437b833ed4246754baf830d0 - React-RCTVibration: a1cce36dd452eb88296d99d80d66f2c5bd50aad4 - React-runtimeexecutor: 53867815d0a01e53a2c901cb7f01076216c5c799 - ReactCommon: d101410fc55088c91dc24595715c7b26ec760adf - Yoga: e37ade282f73232191786671781d052c84d0faa8 + React-RCTVibration: c739e240076fd7dabd90d6242d6a949297565f72 + React-runtimeexecutor: d3e89935c7d4733ddf7da3dd8e0b2533adb7bca4 + ReactCommon: 293077fd73008093e681d96ae99e34e56d47160a + Yoga: 69c2b21737d8220f647e61141aec8c28f7249ef2 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 486f12ff39a0c690fe414d7ffbbdaa371d51590b +PODFILE CHECKSUM: 799678aa4c11e7c6d8a431a3883e94b09b8dd0f1 COCOAPODS: 1.10.0 diff --git a/packages/rn-tester/RCTTest/React-RCTTest.podspec b/packages/rn-tester/RCTTest/React-RCTTest.podspec index 44be5efdb95860..bdef4740b63a1d 100644 --- a/packages/rn-tester/RCTTest/React-RCTTest.podspec +++ b/packages/rn-tester/RCTTest/React-RCTTest.podspec @@ -26,7 +26,7 @@ Pod::Spec.new do |s| s.homepage = "https://reactnative.dev/" s.license = package["license"] s.author = "Facebook, Inc. and its affiliates" - s.platforms = { :ios => "10.0", :tvos => "10.0" } + s.platforms = { :ios => "11.0", :tvos => "11.0" } s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness' s.source = source s.source_files = "**/*.{h,m,mm}" diff --git a/template/ios/Podfile b/template/ios/Podfile index 18369a7e68920c..65d5ffcbfcf420 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -1,7 +1,7 @@ require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' -platform :ios, '10.0' +platform :ios, '11.0' target 'HelloWorld' do config = use_native_modules! @@ -26,4 +26,4 @@ target 'HelloWorld' do post_install do |installer| react_native_post_install(installer) end -end \ No newline at end of file +end