From 1bfd98ad06f26dcb30a3b59f87849560c622c273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwa=C5=9Bniewski?= Date: Fri, 20 Oct 2023 16:26:14 +0200 Subject: [PATCH] chore: use `min_supported_versions` for third-party-podspecs (#18) --- .../third-party-podspecs/SocketRocket.podspec | 5 +- .../third-party-podspecs/YogaKit.podspec | 2 +- .../third-party-podspecs/libevent.podspec | 2 +- packages/rn-tester/Podfile.lock | 92 +++++++++---------- 4 files changed, 49 insertions(+), 52 deletions(-) diff --git a/packages/react-native/third-party-podspecs/SocketRocket.podspec b/packages/react-native/third-party-podspecs/SocketRocket.podspec index 46d4b8b2b7b8fe..7e65ab07b1710a 100644 --- a/packages/react-native/third-party-podspecs/SocketRocket.podspec +++ b/packages/react-native/third-party-podspecs/SocketRocket.podspec @@ -11,10 +11,7 @@ Pod::Spec.new do |s| s.source_files = 'SocketRocket/**/*.{h,m}' s.public_header_files = 'SocketRocket/*.h' - s.ios.deployment_target = '9.0' - s.osx.deployment_target = '10.9' - s.tvos.deployment_target = '9.0' - s.visionos.deployment_target = '1.0' + s.platforms = min_supported_versions s.ios.frameworks = 'CFNetwork', 'Security' s.osx.frameworks = 'CoreServices', 'Security' diff --git a/packages/react-native/third-party-podspecs/YogaKit.podspec b/packages/react-native/third-party-podspecs/YogaKit.podspec index ec2c5654a351b4..febbb126ee9302 100644 --- a/packages/react-native/third-party-podspecs/YogaKit.podspec +++ b/packages/react-native/third-party-podspecs/YogaKit.podspec @@ -19,7 +19,7 @@ podspec = Pod::Spec.new do |spec| :tag => "1.18.0", } - spec.platforms = { :ios => "9.0", :visionos => "1.0" } + spec.platforms = min_supported_versions spec.ios.deployment_target = '8.0' spec.ios.frameworks = 'UIKit' spec.module_name = 'YogaKit' diff --git a/packages/react-native/third-party-podspecs/libevent.podspec b/packages/react-native/third-party-podspecs/libevent.podspec index 7051785f86552a..c917f0227be3fd 100644 --- a/packages/react-native/third-party-podspecs/libevent.podspec +++ b/packages/react-native/third-party-podspecs/libevent.podspec @@ -544,7 +544,7 @@ Pod::Spec.new do |spec| spec.homepage = "https://libevent.org" spec.license = { :type => "BSD 3-Clause", :file => "LICENSE" } spec.author = "Niels Provos and Nick Mathewson" - spec.platforms = { :osx => "10.13", :ios => "10.0", :tvos => "10.0", :visionos => "1.0" } + spec.platforms = min_supported_versions spec.source = { :git => "https://github.com/libevent/libevent.git", :tag => "release-2.1.12-stable" } spec.prepare_command = "echo 'executing libevent prepare command'; touch evconfig-private.h; echo -e #{Shellwords.escape(CONFIG_WITHOUT_OPENSSL)} > include/event2/event-config.h; ls include/event2/" spec.source_files = diff --git a/packages/rn-tester/Podfile.lock b/packages/rn-tester/Podfile.lock index c9f680afe1c0e3..36810ba0218d9e 100644 --- a/packages/rn-tester/Podfile.lock +++ b/packages/rn-tester/Podfile.lock @@ -1176,57 +1176,57 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: 3f76a4d6d9d0f232d25b7782f83fcf988f47d517 DoubleConversion: 71bf0761505a44e4dfddc0aa04afa049fdfb63b5 - FBLazyVector: f8b1874a3fe8250d8eb71707111e6764d9ded42f - FBReactNativeSpec: f3a0491d8f41eb6e9b40f959ebc397926c9940c1 + FBLazyVector: 83eee32c4438287a707ac98e651de25633fae914 + FBReactNativeSpec: 8dff0450c1c5d1a5cddf24df7fc3ff9f108d26c5 fmt: 5d9ffa7ccba126c08b730252123601d514652320 glog: 4f05d17aa39a829fee878689fc9a41af587fabba RCT-Folly: 35de8f372fc3e617131511a6f16028db5c3db620 - RCTRequired: 6b2839f0d0a3b9084895b04b7de412ff1b88b81a - RCTTypeSafety: abd4f7b6da4333f9880feefa00802e012d34ff22 - React: aba7c94fded35c4fc5f47675ccd675bcfe6dd7fd - React-callinvoker: f32ec9eb3291519b94926d3756434b8219e2a823 + RCTRequired: cd488d84baf22d333b4b00d9c3266d0ce821f361 + RCTTypeSafety: b7eb0d199b999fbc1423b8e059d2c7b0d7b9f135 + React: 7305e8427445bdc059b807db00b238b3ce1dd66c + React-callinvoker: 0437d52a89a808f9724e19fde9c35f1b8bfaec69 React-Codegen: cf0df8a0b283dbc95590d1d523511b1278f0aeaf - React-Core: e7a95038cb953ff19611423fc1a17d7f26def188 - React-CoreModules: 2fb6ffc0dba376afe646aa29c20fef24c5588741 - React-cxxreact: 2cc0d757bfb1f23b3f9e2d7e29cf8afaa8058007 - React-debug: 86a2d1e26a1abc5ee8ebfecf5d912bd63873ae18 - React-Fabric: 5fecba2b2e63290b07e10220bb6233f2d847fc7b - React-FabricImage: d5653e984ad5ee15ba58fe32dbb877d1444791c8 - React-graphics: d906e7fcb74b688327ab1d0909b9a80c8ff114a7 - React-ImageManager: a969aaa2e0827d82308224242aaccf2c3b012e26 - React-jsc: 3169c3cf59504334b9c6fa5303672b7ec49bc5af - React-jserrorhandler: 8ae04a2fd16b82feb5bb79d75120d4dabed8a451 - React-jsi: 3ecfe1b69ffcb6b677623bcaab01f1ebeec87271 - React-jsiexecutor: 721432bb75512e725a8e22dc80225a8a73ff0e67 - React-jsinspector: 7b75fb8e55c5bc856fcab17ac0e841324138b79f - React-logger: f2a904f04d97f27b2eb3c1c888cafdb69c2b6484 - React-Mapbuffer: 9061ca255dbe7dc95f53551f68ccee1386a47e1e - React-nativeconfig: 162710705c6fa60d4d00e85fbcc98d816f885070 - React-NativeModulesApple: 3340f3ff09922e993fe88b69d8724c6982b6cc69 - React-perflogger: 2fbb3a4b30a12fecc789988c75056b7f518c5c25 - React-RCTActionSheet: 7105a903dfe16ff2f038a05edf2465514d8bb792 - React-RCTAnimation: 05531def06a27c80ccd4a1cddda5a7a02f04928c - React-RCTAppDelegate: a7e489a6abd58b164f9f210ccc335b1e4686cfeb - React-RCTBlob: 0b2d5bbd9bbe16c2546b26b007b8c1571f912734 - React-RCTFabric: 683142a654ea06f4e7cf808d19602387c407fd7e - React-RCTImage: 3308566dbb749aada82b55a56f8cced18064706a - React-RCTLinking: 345f8109ff31314c25fb9042ed827c4b9a40124a - React-RCTNetwork: 78e30f625a24c76cfcfb60fa185f481a14abb6c1 - React-RCTPushNotification: a307cf41915b82e130abb23058ddf924a3016789 - React-RCTSettings: 13f6e4d2054bc4abe8ab0aba009c960a1a349e34 - React-RCTTest: 629cb56ba87431e1b551333b2ce291fe74ed1af0 - React-RCTText: b563036f22039cdceb4bbd862c2e779e2090a100 - React-RCTVibration: c6bce31fa801722244d2f8d57f6be4e3663edfd6 - React-rendererdebug: 3df8662e71e5c65648487494561b146be1fbe537 - React-rncore: 33fcfa64d694721ac63917b197c06a5c0410417a - React-runtimeexecutor: d73c50615753b9a87f6329c4217c5f6150ee2ba9 - React-runtimescheduler: add9a610542293c15779cc9140c61688c75a9cf6 - React-utils: 5aa59223439e554c108fce56271d82bb18e29101 - ReactCommon: 2072853660e6cebb2df57f9c71df7a5c5f401d77 - ReactCommon-Samples: c51d22eee9c7025ee61266636780c480aec4fa28 + React-Core: a33c5772dd944038844a96fd5e019e71b6ac65fb + React-CoreModules: 9c905840a98053be4c98d9a4943aac6fc28421fa + React-cxxreact: c87876df425015f8ce229cf409908c8a9b02b516 + React-debug: cd1487d40a1e615222d9357b6c7ae132ae4119df + React-Fabric: 9bd838538437c40bff25996e4c4bdafef5f69c7d + React-FabricImage: 46aaf0a6c0a32a7504f26381e32aab1262bf59b5 + React-graphics: 6024ae220ab601ec1db9e585615ccdbe3da94180 + React-ImageManager: cb07cafa0042a6c860d07e002d941ae9c5481fdb + React-jsc: e620144c46b5428cead6a5845a3aefc33800e6de + React-jserrorhandler: 5d28bfdf11de1b55e7cafb36fc61bed7a550cb4d + React-jsi: 3dee2fca1d5192488abc451529abd1fa5c7b9a08 + React-jsiexecutor: a05d7ef088bfd7a9a9bc17447742e1bffe54a0d2 + React-jsinspector: 74b45b7d7acf4d54eb4c8e3cb30200b9a8c7bcab + React-logger: bc3488d97d807dc8542fc088a336296020d0a5f4 + React-Mapbuffer: 8f573dcd1a8a6bc3f0a0b9141f377f7eb09bd3e1 + React-nativeconfig: 3d13c40d4ed43b9a0cef373312450f030c71efab + React-NativeModulesApple: b7cc12540fbf2ea5062b127aca3d141ce8d94c1d + React-perflogger: 1ee2d6af13c9c8da8000d265e80016167aec8a75 + React-RCTActionSheet: bd7a9c4f522805f74792851595c3e0f30bee818f + React-RCTAnimation: 22ed67d17c64ccf27664788bdfc948d06d1d479a + React-RCTAppDelegate: b909ea603ba922d566e7a83276c57c7a48e35394 + React-RCTBlob: 98a61ab55fff375fb930f440a87741f47bb15730 + React-RCTFabric: 3c40a6acc59c9ec2a3f7374d696761e5bb962fe4 + React-RCTImage: e251751e69db074ce72782e54f04873b6179be66 + React-RCTLinking: fdc0cb70ba2175936b4b2a3e637e955491df0ef0 + React-RCTNetwork: daf00b48085718926e282ee349009b574ce09b4d + React-RCTPushNotification: b239e7180d1dc91ed6d3925d73b80766f7bb3ef9 + React-RCTSettings: abb50ab573592169bfecd211f4840edf6750436a + React-RCTTest: 989eb4cb521e64b15858d871bc4eb5b41e2337c9 + React-RCTText: 01a50c7b2fbd8e8042a3765481b4d4ee812a95fc + React-RCTVibration: 00164724a4f63be9b8bca7fb9a678e6bc78dbc0d + React-rendererdebug: 10a3ae11afd7d9f0db7a5d871944f82c09868e3b + React-rncore: 32d2fa44ae020d4863ee37f601c610d084599c7c + React-runtimeexecutor: 0f46b8cb5f6b054839ddf1469171a5325642a495 + React-runtimescheduler: 6e84f4313e2546a73921239d1218cc429e592f1d + React-utils: 35aab65efa4f3bcbdf81b6ef74eafcc67b2bad6e + ReactCommon: 41ad951de7f29014dec4cceeea527fb494dc4208 + ReactCommon-Samples: e0e232cbf1984c83c559de093c0bb433dfae0f85 ScreenshotManager: b0e7b89964062d8655305156cd9c7ad0c836099f - SocketRocket: ce0a5a2620a4f749f45e494f1efa59d82e8b37f2 - Yoga: f929faaca58fdada4f46173d43afc6fe3dfdc82f + SocketRocket: 0ba3e799f983d2dfa878777017659ef6c866e5c6 + Yoga: 677153ce8d20f99fcd176b5ba95ca15032d1d5e8 PODFILE CHECKSUM: 011aeacfa9a55464d54974a9cc640af93fc896ce