Skip to content

Commit

Permalink
Merge pull request SDWebImage#1358 from hoseking/master
Browse files Browse the repository at this point in the history
Add CocoaPods support for tvOS
  • Loading branch information
bpoplauschi committed Oct 30, 2015
2 parents a090531 + 11c7efb commit 30e9e0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

language: objective-c

osx_image: xcode7.1

before_install:

- export LANG=en_US.UTF-8
Expand Down
5 changes: 4 additions & 1 deletion SDWebImage.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Pod::Spec.new do |s|
s.name = 'SDWebImage'
s.version = '3.7.3'
s.platform = :ios, '5.0'
s.ios.deployment_target = '5.0'
s.tvos.deployment_target = '9.0'
s.license = 'MIT'
s.summary = 'Asynchronous image downloader with cache support with an UIImageView category.'
s.homepage = 'https://github.com/rs/SDWebImage'
Expand All @@ -24,9 +25,11 @@ Pod::Spec.new do |s|
s.subspec 'Core' do |core|
core.source_files = 'SDWebImage/{NS,SD,UI}*.{h,m}'
core.exclude_files = 'SDWebImage/UIImage+WebP.{h,m}'
core.tvos.exclude_files = 'SDWebImage/MKAnnotationView+WebCache.*'
end

s.subspec 'MapKit' do |mk|
mk.ios.deployment_target = '5.0'
mk.source_files = 'SDWebImage/MKAnnotationView+WebCache.*'
mk.framework = 'MapKit'
mk.dependency 'SDWebImage/Core'
Expand Down

0 comments on commit 30e9e0b

Please sign in to comment.