Skip to content

Commit e01a27c

Browse files
committed
chore: use min_supported_versions for third-party-podspecs (#18)
1 parent d53ffa5 commit e01a27c

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

packages/react-native/third-party-podspecs/SocketRocket.podspec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ Pod::Spec.new do |s|
1111
s.source_files = 'SocketRocket/**/*.{h,m}'
1212
s.public_header_files = 'SocketRocket/*.h'
1313

14-
s.ios.deployment_target = '9.0'
15-
s.osx.deployment_target = '10.9'
16-
s.tvos.deployment_target = '9.0'
17-
s.visionos.deployment_target = '1.0'
14+
s.platforms = min_supported_versions
1815

1916
s.ios.frameworks = 'CFNetwork', 'Security'
2017
s.osx.frameworks = 'CoreServices', 'Security'

packages/react-native/third-party-podspecs/YogaKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ podspec = Pod::Spec.new do |spec|
1919
:tag => "1.18.0",
2020
}
2121

22-
spec.platforms = { :ios => "9.0", :visionos => "1.0" }
22+
spec.platforms = min_supported_versions
2323
spec.ios.deployment_target = '8.0'
2424
spec.ios.frameworks = 'UIKit'
2525
spec.module_name = 'YogaKit'

packages/react-native/third-party-podspecs/libevent.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ Pod::Spec.new do |spec|
544544
spec.homepage = "https://libevent.org"
545545
spec.license = { :type => "BSD 3-Clause", :file => "LICENSE" }
546546
spec.author = "Niels Provos and Nick Mathewson"
547-
spec.platforms = { :osx => "10.13", :ios => "10.0", :tvos => "10.0", :visionos => "1.0" }
547+
spec.platforms = min_supported_versions
548548
spec.source = { :git => "https://github.com/libevent/libevent.git", :tag => "release-2.1.12-stable" }
549549
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/"
550550
spec.source_files =

0 commit comments

Comments
 (0)