IGListKit/IGListKit.podspec
Ryan Nystrom 37c798ac78 Bump min macOS version to 10.11 #trivial
Summary:
Followup from #1068

The `NSIndexPath` methods we use **are not** available <10.11. In theory this has always been "broken" b/c older macOS versions would crash at runtime when trying to use these methods.

Normally this would be breaking change, but I can't imagine anyone is using IGListKit on the mac targeting 10.10 and shipping a working app.

cc jessesquires for thoughts

This should be the last remaining item before we get a green badge.

(note that 10.11 was released 9/30/15 which is about 2 weeks before the public IGListKit release)
Closes https://github.com/Instagram/IGListKit/pull/1080

Differential Revision: D6894369

Pulled By: rnystrom

fbshipit-source-id: e5992c7bba68b21704af6bc8fb889b5427266954
2018-02-03 08:31:28 -08:00

49 lines
1.5 KiB
Ruby

Pod::Spec.new do |s|
s.name = 'IGListKit'
s.version = '3.1.1'
s.summary = 'A data-driven UICollectionView framework.'
s.homepage = 'https://github.com/Instagram/IGListKit'
s.documentation_url = 'https://instagram.github.io/IGListKit'
s.description = 'A data-driven UICollectionView framework for building fast and flexible lists.'
s.license = { :type => 'BSD' }
s.authors = 'Instagram'
s.social_media_url = 'https://twitter.com/fbOpenSource'
s.source = {
:git => 'https://github.com/Instagram/IGListKit.git',
:tag => s.version.to_s,
:branch => 'stable'
}
s.subspec 'Diffing' do |ds|
ds.source_files = 'Source/Common/**/*.{h,m,mm}'
ds.private_header_files = 'Source/Common/Internal/*.h'
end
s.subspec 'Default' do |cs|
cs.dependency 'IGListKit/Diffing'
cs.ios.source_files = 'Source/**/*.{h,m,mm}'
cs.ios.private_header_files = ['Source/Internal/*.h', 'Source/Common/Internal/*.h']
cs.tvos.source_files = 'Source/**/*.{h,m,mm}'
cs.tvos.private_header_files = ['Source/Internal/*.h', 'Source/Common/Internal/*.h']
end
s.default_subspec = 'Default'
s.requires_arc = true
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.osx.deployment_target = '10.11'
s.ios.frameworks = 'UIKit'
s.tvos.frameworks = 'UIKit'
s.osx.frameworks = 'Cocoa'
s.library = 'c++'
s.pod_target_xcconfig = {
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++11',
'CLANG_CXX_LIBRARY' => 'libc++'
}
end