From 2c764b059ca625e03e4cb12079783778a401f1b1 Mon Sep 17 00:00:00 2001 From: Azizbek Date: Sat, 4 Apr 2026 16:01:53 +0500 Subject: [PATCH 1/2] fix: declare tvos platform in podspec --- Ease.podspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Ease.podspec b/Ease.podspec index 05ad1c6..8376f07 100644 --- a/Ease.podspec +++ b/Ease.podspec @@ -10,7 +10,10 @@ Pod::Spec.new do |s| s.license = package["license"] s.authors = package["author"] - s.platforms = { :ios => min_ios_version_supported } + # Fabric autolinking registers this component for Apple TV targets too. + # If the podspec only declares :ios, tvOS apps still get the registration + # entry but not the native class, which crashes provider initialization. + s.platforms = { :ios => min_ios_version_supported, :tvos => min_ios_version_supported } s.source = { :git => "https://github.com/janicduplessis/react-native-ease.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm,swift,cpp}" From 44426240ab8faf61e6299ae79d93767cae380db7 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Sat, 4 Apr 2026 12:34:29 -0400 Subject: [PATCH 2/2] chore: remove podspec comment --- Ease.podspec | 3 --- 1 file changed, 3 deletions(-) diff --git a/Ease.podspec b/Ease.podspec index 8376f07..b5ff9eb 100644 --- a/Ease.podspec +++ b/Ease.podspec @@ -10,9 +10,6 @@ Pod::Spec.new do |s| s.license = package["license"] s.authors = package["author"] - # Fabric autolinking registers this component for Apple TV targets too. - # If the podspec only declares :ios, tvOS apps still get the registration - # entry but not the native class, which crashes provider initialization. s.platforms = { :ios => min_ios_version_supported, :tvos => min_ios_version_supported } s.source = { :git => "https://github.com/janicduplessis/react-native-ease.git", :tag => "#{s.version}" }