Skip to content

Commit 1b78da8

Browse files
Saadnajmifacebook-github-bot
authored andcommitted
min_ios_version_supported -> min_supported_versions (#39310)
Summary: ## Summary: One of the most common diffs we have in React Native macOS is simply extending the `platforms` key Inside every pod spec to include macOS. React Native tvOS does the same to add tvOS. In the future, React Native may support visionOS, at which point we do the same thing again. Let's define a `min_supported_versions` hash that can be overridden at one place that is extensible to more platforms, instead of just specifying `min_ios_version_supported`. Note: In doing this change, I have set it that `React-Hermes.podspec` doesn't build for macOS anymore. I think this is safe, since anyone using Hermes on macOS was probably using React Native macOS where we already have a diff to add macOS back? ## Changelog: [IOS] [CHANGED] - Add min_supported_versions helper to cocoa pods scripts Pull Request resolved: #39310 Test Plan: CI should pass. Reviewed By: NickGerleman Differential Revision: D49014109 Pulled By: dmytrorykun fbshipit-source-id: d44fc7b750c70cc263a2c89502c022a0db9a4771
1 parent 4d9bd90 commit 1b78da8

File tree

60 files changed

+72
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+72
-65
lines changed

packages/react-native/Libraries/ActionSheetIOS/React-RCTActionSheet.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
2424
s.documentation_url = "https://reactnative.dev/docs/actionsheetios"
2525
s.license = package["license"]
2626
s.author = "Meta Platforms, Inc. and its affiliates"
27-
s.platforms = { :ios => min_ios_version_supported }
27+
s.platforms = min_supported_versions
2828
s.source = source
2929
s.source_files = "*.{m}"
3030
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"

packages/react-native/Libraries/AppDelegate/React-RCTAppDelegate.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Pod::Spec.new do |s|
6666
s.documentation_url = "https://reactnative.dev/"
6767
s.license = package["license"]
6868
s.author = "Meta Platforms, Inc. and its affiliates"
69-
s.platforms = { :ios => min_ios_version_supported }
69+
s.platforms = min_supported_versions
7070
s.source = source
7171
s.source_files = "**/*.{c,h,m,mm,S,cpp}"
7272

packages/react-native/Libraries/Blob/React-RCTBlob.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
3939
s.homepage = "https://reactnative.dev/"
4040
s.license = package["license"]
4141
s.author = "Meta Platforms, Inc. and its affiliates"
42-
s.platforms = { :ios => min_ios_version_supported }
42+
s.platforms = min_supported_versions
4343
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4444
s.source = source
4545
s.source_files = "*.{h,m,mm}"

packages/react-native/Libraries/FBLazyVector/FBLazyVector.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "**/*.{c,h,m,mm,cpp}"
2929
s.header_dir = "FBLazyVector"

packages/react-native/Libraries/Image/React-RCTImage.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Pod::Spec.new do |s|
4040
s.documentation_url = "https://reactnative.dev/docs/image"
4141
s.license = package["license"]
4242
s.author = "Meta Platforms, Inc. and its affiliates"
43-
s.platforms = { :ios => min_ios_version_supported }
43+
s.platforms = min_supported_versions
4444
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4545
s.source = source
4646
s.source_files = "*.{m,mm}"

packages/react-native/Libraries/LinkingIOS/React-RCTLinking.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Pod::Spec.new do |s|
4343
s.documentation_url = "https://reactnative.dev/docs/linking"
4444
s.license = package["license"]
4545
s.author = "Meta Platforms, Inc. and its affiliates"
46-
s.platforms = { :ios => min_ios_version_supported }
46+
s.platforms = min_supported_versions
4747
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4848
s.source = source
4949
s.source_files = "*.{m,mm}"

packages/react-native/Libraries/NativeAnimation/React-RCTAnimation.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
3939
s.homepage = "https://reactnative.dev/"
4040
s.license = package["license"]
4141
s.author = "Meta Platforms, Inc. and its affiliates"
42-
s.platforms = { :ios => min_ios_version_supported }
42+
s.platforms = min_supported_versions
4343
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4444
s.source = source
4545
s.source_files = "**/*.{h,m,mm}"

packages/react-native/Libraries/Network/React-RCTNetwork.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Pod::Spec.new do |s|
4343
s.homepage = "https://reactnative.dev/"
4444
s.license = package["license"]
4545
s.author = "Meta Platforms, Inc. and its affiliates"
46-
s.platforms = { :ios => min_ios_version_supported }
46+
s.platforms = min_supported_versions
4747
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4848
s.source = source
4949
s.source_files = "*.{m,mm}"

packages/react-native/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Pod::Spec.new do |s|
4040
s.documentation_url = "https://reactnative.dev/docs/pushnotificationios"
4141
s.license = package["license"]
4242
s.author = "Meta Platforms, Inc. and its affiliates"
43-
s.platforms = { :ios => min_ios_version_supported }
43+
s.platforms = min_supported_versions
4444
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4545
s.source = source
4646
s.source_files = "*.{m,mm}"

packages/react-native/Libraries/RCTRequired/RCTRequired.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "**/*.{c,h,m,mm,cpp}"
2929
s.header_dir = "RCTRequired"

packages/react-native/Libraries/Settings/React-RCTSettings.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Pod::Spec.new do |s|
4343
s.documentation_url = "https://reactnative.dev/docs/settings"
4444
s.license = package["license"]
4545
s.author = "Meta Platforms, Inc. and its affiliates"
46-
s.platforms = { :ios => min_ios_version_supported }
46+
s.platforms = min_supported_versions
4747
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4848
s.source = source
4949
s.source_files = "*.{m,mm}"

packages/react-native/Libraries/Text/React-RCTText.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
2424
s.documentation_url = "https://reactnative.dev/docs/text"
2525
s.license = package["license"]
2626
s.author = "Meta Platforms, Inc. and its affiliates"
27-
s.platforms = { :ios => min_ios_version_supported }
27+
s.platforms = min_supported_versions
2828
s.source = source
2929
s.source_files = "**/*.{h,m,mm}"
3030
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"

packages/react-native/Libraries/TypeSafety/RCTTypeSafety.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "**/*.{c,h,m,mm,cpp}"
2929
s.header_dir = "RCTTypeSafety"

packages/react-native/Libraries/Vibration/React-RCTVibration.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Pod::Spec.new do |s|
4242
s.documentation_url = "https://reactnative.dev/docs/vibration"
4343
s.license = package["license"]
4444
s.author = "Meta Platforms, Inc. and its affiliates"
45-
s.platforms = { :ios => min_ios_version_supported }
45+
s.platforms = min_supported_versions
4646
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4747
s.source = source
4848
s.source_files = "*.{m,mm}"

packages/react-native/React-Core.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Pod::Spec.new do |s|
6767
s.homepage = "https://reactnative.dev/"
6868
s.license = package["license"]
6969
s.author = "Meta Platforms, Inc. and its affiliates"
70-
s.platforms = { :ios => min_ios_version_supported }
70+
s.platforms = min_supported_versions
7171
s.source = source
7272
s.resource_bundle = { "RCTI18nStrings" => ["React/I18n/strings/*.lproj"]}
7373
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags

packages/react-native/React.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
3636
s.homepage = "https://reactnative.dev/"
3737
s.license = package["license"]
3838
s.author = "Meta Platforms, Inc. and its affiliates"
39-
s.platforms = { :ios => min_ios_version_supported }
39+
s.platforms = min_supported_versions
4040
s.source = source
4141
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
4242
s.cocoapods_version = ">= 1.10.1"

packages/react-native/React/CoreModules/React-CoreModules.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Pod::Spec.new do |s|
3939
s.homepage = "https://reactnative.dev/"
4040
s.license = package["license"]
4141
s.author = "Meta Platforms, Inc. and its affiliates"
42-
s.platforms = { :ios => min_ios_version_supported }
42+
s.platforms = min_supported_versions
4343
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
4444
s.source = source
4545
s.source_files = "**/*.{c,m,mm,cpp}"

packages/react-native/React/FBReactNativeSpec/FBReactNativeSpec.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pod::Spec.new do |s|
2929
s.homepage = "https://reactnative.dev/"
3030
s.license = package["license"]
3131
s.author = "Meta Platforms, Inc. and its affiliates"
32-
s.platforms = { :ios => min_ios_version_supported }
32+
s.platforms = min_supported_versions
3333
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
3434
s.source = source
3535
# This podspec is used to trigger the codegen, and built files are generated in a different location.

packages/react-native/React/React-RCTFabric.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Pod::Spec.new do |s|
5757
s.homepage = "https://reactnative.dev/"
5858
s.license = package["license"]
5959
s.author = "Meta Platforms, Inc. and its affiliates"
60-
s.platforms = { :ios => min_ios_version_supported }
60+
s.platforms = min_supported_versions
6161
s.source = source
6262
s.source_files = "Fabric/**/*.{c,h,m,mm,S,cpp}"
6363
s.exclude_files = "**/tests/*",

packages/react-native/ReactCommon/React-Fabric.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pod::Spec.new do |s|
2929
s.homepage = "https://reactnative.dev/"
3030
s.license = package["license"]
3131
s.author = "Meta Platforms, Inc. and its affiliates"
32-
s.platforms = { :ios => min_ios_version_supported }
32+
s.platforms = min_supported_versions
3333
s.source = source
3434
s.source_files = "dummyFile.cpp"
3535
s.pod_target_xcconfig = { "USE_HEADERMAP" => "YES",

packages/react-native/ReactCommon/React-FabricImage.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Pod::Spec.new do |s|
5151
s.homepage = "https://reactnative.dev/"
5252
s.license = package["license"]
5353
s.author = "Meta Platforms, Inc. and its affiliates"
54-
s.platforms = { :ios => min_ios_version_supported }
54+
s.platforms = min_supported_versions
5555
s.source = source
5656
s.source_files = "react/renderer/components/image/**/*.{m,mm,cpp,h}"
5757
s.exclude_files = "react/renderer/components/image/tests"

packages/react-native/ReactCommon/React-Mapbuffer.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "react/renderer/mapbuffer/*.{cpp,h}"
2929
s.exclude_files = "react/renderer/mapbuffer/tests"

packages/react-native/ReactCommon/React-nativeconfig.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "react/config/*.{m,mm,cpp,h}"
2929
s.header_dir = "react/config"

packages/react-native/ReactCommon/React-rncore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Pod::Spec.new do |s|
4444
s.homepage = "https://reactnative.dev/"
4545
s.license = package["license"]
4646
s.author = "Meta Platforms, Inc. and its affiliates"
47-
s.platforms = { :ios => min_ios_version_supported }
47+
s.platforms = min_supported_versions
4848
s.source = source
4949
s.source_files = "dummyFile.cpp"
5050
s.pod_target_xcconfig = { "USE_HEADERMAP" => "YES",

packages/react-native/ReactCommon/ReactCommon.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
2828
s.homepage = "https://reactnative.dev/"
2929
s.license = package["license"]
3030
s.author = "Meta Platforms, Inc. and its affiliates"
31-
s.platforms = { :ios => min_ios_version_supported }
31+
s.platforms = min_supported_versions
3232
s.source = source
3333
s.header_dir = "ReactCommon" # Use global header_dir for all subspecs for use_frameworks! compatibility
3434
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags

packages/react-native/ReactCommon/callinvoker/React-callinvoker.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Pod::Spec.new do |s|
2727
s.homepage = "https://reactnative.dev/"
2828
s.license = package["license"]
2929
s.author = "Meta Platforms, Inc. and its affiliates"
30-
s.platforms = { :ios => min_ios_version_supported }
30+
s.platforms = min_supported_versions
3131
s.source = source
3232
s.source_files = "**/*.{cpp,h}"
3333
s.header_dir = "ReactCommon"

packages/react-native/ReactCommon/cxxreact/React-cxxreact.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
2828
s.homepage = "https://reactnative.dev/"
2929
s.license = package["license"]
3030
s.author = "Meta Platforms, Inc. and its affiliates"
31-
s.platforms = { :ios => min_ios_version_supported }
31+
s.platforms = min_supported_versions
3232
s.source = source
3333
s.source_files = "*.{cpp,h}"
3434
s.exclude_files = "SampleCxxModule.*"

packages/react-native/ReactCommon/hermes/React-hermes.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
2828
s.homepage = "https://reactnative.dev/"
2929
s.license = package['license']
3030
s.author = "Meta Platforms, Inc. and its affiliates"
31-
s.platforms = { :osx => "10.14", :ios => min_ios_version_supported }
31+
s.platforms = min_supported_versions
3232
s.source = source
3333
s.source_files = "executor/*.{cpp,h}",
3434
"inspector-modern/*.{cpp,h}",

packages/react-native/ReactCommon/hermes/executor/React-jsitracing.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "JSITracing.{cpp,h}"
2929
s.header_dir = "."

packages/react-native/ReactCommon/jsc/React-jsc.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "JSCRuntime.{cpp,h}"
2929
s.exclude_files = "**/test/*"

packages/react-native/ReactCommon/jserrorhandler/React-jserrorhandler.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pod::Spec.new do |s|
2929
s.homepage = "https://reactnative.dev/"
3030
s.license = package["license"]
3131
s.author = "Meta Platforms, Inc. and its affiliates"
32-
s.platforms = { :ios => min_ios_version_supported }
32+
s.platforms = min_supported_versions
3333
s.source = source
3434
s.header_dir = "jserrorhandler"
3535
s.source_files = "JsErrorHandler.{cpp,h}"

packages/react-native/ReactCommon/jsi/React-jsi.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Pod::Spec.new do |s|
3131
s.homepage = "https://reactnative.dev/"
3232
s.license = package["license"]
3333
s.author = "Meta Platforms, Inc. and its affiliates"
34-
s.platforms = { :ios => min_ios_version_supported }
34+
s.platforms = min_supported_versions
3535
s.source = source
3636

3737
s.header_dir = "jsi"

packages/react-native/ReactCommon/jsiexecutor/React-jsiexecutor.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Pod::Spec.new do |s|
2727
s.homepage = "https://reactnative.dev/"
2828
s.license = package["license"]
2929
s.author = "Meta Platforms, Inc. and its affiliates"
30-
s.platforms = { :ios => min_ios_version_supported }
30+
s.platforms = min_supported_versions
3131
s.source = source
3232
s.source_files = "jsireact/*.{cpp,h}"
3333
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags

packages/react-native/ReactCommon/jsinspector-modern/React-jsinspector.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "*.{cpp,h}"
2929
s.header_dir = 'jsinspector'

packages/react-native/ReactCommon/logger/React-logger.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
2828
s.homepage = "https://reactnative.dev/"
2929
s.license = package["license"]
3030
s.author = "Meta Platforms, Inc. and its affiliates"
31-
s.platforms = { :ios => min_ios_version_supported }
31+
s.platforms = min_supported_versions
3232
s.source = source
3333
s.source_files = "*.{cpp,h}"
3434
s.exclude_files = "SampleCxxModule.*"

packages/react-native/ReactCommon/react/debug/React-debug.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.homepage = "https://reactnative.dev/"
2424
s.license = package["license"]
2525
s.author = "Meta Platforms, Inc. and its affiliates"
26-
s.platforms = { :ios => min_ios_version_supported }
26+
s.platforms = min_supported_versions
2727
s.source = source
2828
s.source_files = "**/*.{cpp,h}"
2929
s.header_dir = "react/debug"

packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pod::Spec.new do |s|
2929
s.homepage = "https://reactnative.dev/"
3030
s.license = package["license"]
3131
s.author = "Meta Platforms, Inc. and its affiliates"
32-
s.platforms = { :ios => min_ios_version_supported }
32+
s.platforms = min_supported_versions
3333
s.source = source
3434
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
3535
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\"",

packages/react-native/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pod::Spec.new do |s|
2929
s.homepage = "https://reactnative.dev/"
3030
s.license = package["license"]
3131
s.author = "Meta Platforms, Inc. and its affiliates"
32-
s.platforms = { :ios => min_ios_version_supported }
32+
s.platforms = min_supported_versions
3333
s.source = source
3434
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
3535
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/Headers/Private/React-Core\" \"${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon-Samples/ReactCommon_Samples.framework/Headers\"",

packages/react-native/ReactCommon/react/renderer/debug/React-rendererdebug.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Pod::Spec.new do |s|
3737
s.homepage = "https://reactnative.dev/"
3838
s.license = package["license"]
3939
s.author = "Meta Platforms, Inc. and its affiliates"
40-
s.platforms = { :ios => min_ios_version_supported }
40+
s.platforms = min_supported_versions
4141
s.source = source
4242
s.source_files = "**/*.{cpp,h,mm}"
4343
s.compiler_flags = folly_compiler_flags

packages/react-native/ReactCommon/react/renderer/graphics/React-graphics.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Pod::Spec.new do |s|
3434
s.homepage = "https://reactnative.dev/"
3535
s.license = package["license"]
3636
s.author = "Meta Platforms, Inc. and its affiliates"
37-
s.platforms = { :ios => min_ios_version_supported }
37+
s.platforms = min_supported_versions
3838
s.source = source
3939
s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
4040
s.source_files = source_files

0 commit comments

Comments
 (0)