Skip to content

Commit 8ef1e78

Browse files
committed
Bump deployment target for tvOS to 15.1
It is the lowest supported version from [email protected] onwards https://github.com/react-native-tvos/react-native-tvos?tab=readme-ov-file#general-support-for-tv
1 parent 0805915 commit 8ef1e78

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

RNScreens.podspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
44

55
new_arch_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == '1'
66
min_supported_ios_version = new_arch_enabled ? "15.1" : "15.1"
7+
min_supported_tvos_version = "15.1"
8+
min_supported_visionos_version = "1.0"
79
source_files = new_arch_enabled ? 'ios/**/*.{h,m,mm,cpp}' : ["ios/**/*.{h,m,mm}", "cpp/RNScreensTurboModule.cpp", "cpp/RNScreensTurboModule.h"]
810

911
Pod::Spec.new do |s|
@@ -16,7 +18,7 @@ Pod::Spec.new do |s|
1618
s.homepage = "https://github.com/software-mansion/react-native-screens"
1719
s.license = "MIT"
1820
s.author = { "author" => "[email protected]" }
19-
s.platforms = { :ios => min_supported_ios_version, :tvos => "11.0", :visionos => "1.0" }
21+
s.platforms = { :ios => min_supported_ios_version, :tvos => min_supported_tvos_version, :visionos => min_supported_visionos_version }
2022
s.source = { :git => "https://github.com/software-mansion/react-native-screens.git", :tag => "#{s.version}" }
2123
s.source_files = source_files
2224
s.project_header_files = "cpp/**/*.h" # Don't expose C++ headers publicly to allow importing framework into Swift files

0 commit comments

Comments
 (0)