diff --git a/README.md b/README.md index af16a0bf..60b52e79 100644 --- a/README.md +++ b/README.md @@ -454,6 +454,11 @@ Open Rx.xcworkspace, choose `RxExample` and hit run. This method will build ever ### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html) +**:warning: IMPORTANT! For tvOS support CocoaPods version `0.39.0.beta.5` is needed. :warning:** + + +`[sudo] gem install cocoapods --pre` + ``` # Podfile use_frameworks! diff --git a/RxBlocking.podspec b/RxBlocking.podspec index f7d811f2..fce3d161 100644 --- a/RxBlocking.podspec +++ b/RxBlocking.podspec @@ -15,6 +15,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9' s.watchos.deployment_target = '2.0' + s.tvos.deployment_target = '9.0' s.source_files = 'RxBlocking/**/*.swift' diff --git a/RxCocoa.podspec b/RxCocoa.podspec index 35bd3042..6d087620 100644 --- a/RxCocoa.podspec +++ b/RxCocoa.podspec @@ -17,11 +17,13 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9' s.watchos.deployment_target = '2.0' + s.tvos.deployment_target = '9.0' s.source_files = 'RxCocoa/RxCocoa.h', 'RxCocoa/Common/**/*.{swift,h,m}' s.ios.source_files = 'RxCocoa/iOS/**/*.swift' s.osx.source_files = 'RxCocoa/OSX/**/*.swift' s.watchos.source_files = 'RxCocoa/iOS/**/*.swift' + s.tvos.source_files = 'RxCocoa/iOS/**/*.swift' s.dependency 'RxSwift', '~> 2.0.0-alpha' end diff --git a/RxSwift.podspec b/RxSwift.podspec index 9a8198ac..6d837274 100644 --- a/RxSwift.podspec +++ b/RxSwift.podspec @@ -33,6 +33,7 @@ Pod::Spec.new do |s| s.ios.deployment_target = '8.0' s.osx.deployment_target = '10.9' s.watchos.deployment_target = '2.0' + s.tvos.deployment_target = '9.0' s.source_files = 'RxSwift/**/*.swift' end diff --git a/scripts/validate-podspec.sh b/scripts/validate-podspec.sh index d5570b42..d65a74c1 100755 --- a/scripts/validate-podspec.sh +++ b/scripts/validate-podspec.sh @@ -19,12 +19,10 @@ cat RxSwift.podspec | sed -E "s/s.source[^\}]+\}/s.source = { :git => '\/Users\/kzaher\/Projects\/Rx', :branch => \'develop\' }/" > ~/.cocoapods/repos/master/Specs/RxSwift/${VERSION}/RxSwift.podspec cat RxCocoa.podspec | -sed -E "s/s.source[^\}]+\}/s.source = { :git => '\/Users\/kzaher\/Projects\/Rx', :branch => \'develop\' }/" | -sed -E "s/s.dependency[^\n]+/s.dependency = 'RxSwift'/" > ~/.cocoapods/repos/master/Specs/RxCocoa/${VERSION}/RxCocoa.podspec +sed -E "s/s.source[^\}]+\}/s.source = { :git => '\/Users\/kzaher\/Projects\/Rx', :branch => \'develop\' }/" > ~/.cocoapods/repos/master/Specs/RxCocoa/${VERSION}/RxCocoa.podspec cat RxBlocking.podspec | -sed -E "s/s.source[^\}]+\}/s.source = { :git => '\/Users\/kzaher\/Projects\/Rx', :branch => \'develop\' }/" | -sed -E "s/s.dependency[^\n]+/s.dependency = 'RxSwift'/" > ~/.cocoapods/repos/master/Specs/RxBlocking/${VERSION}/RxBlocking.podspec +sed -E "s/s.source[^\}]+\}/s.source = { :git => '\/Users\/kzaher\/Projects\/Rx', :branch => \'develop\' }/" > ~/.cocoapods/repos/master/Specs/RxBlocking/${VERSION}/RxBlocking.podspec pod lib lint RxSwift.podspec pod lib lint RxCocoa.podspec