Skip to content

Commit

Permalink
chore: use min_supported_versions for third-party-podspecs (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Jan 11, 2024
1 parent d53ffa5 commit e01a27c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/third-party-podspecs/YogaKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit e01a27c

Please sign in to comment.