2016-09-07 22:37:59 +00:00
|
|
|
Pod::Spec.new do |s|
|
|
|
|
|
s.name = 'IGListKit'
|
2018-05-01 22:51:00 +00:00
|
|
|
s.version = '3.4.0'
|
2016-09-07 22:37:59 +00:00
|
|
|
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.'
|
|
|
|
|
|
2018-05-01 22:51:00 +00:00
|
|
|
s.license = { :type => 'MIT' }
|
2016-09-07 22:37:59 +00:00
|
|
|
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'
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-31 15:17:38 +00:00
|
|
|
s.header_mappings_dir = "Source"
|
|
|
|
|
|
2016-12-27 20:37:57 +00:00
|
|
|
s.subspec 'Diffing' do |ds|
|
2019-10-31 15:17:38 +00:00
|
|
|
ds.source_files = 'Source/IGListDiffKit/**/*.{h,m,mm}'
|
|
|
|
|
ds.private_header_files = 'Source/IGListDiffKit/Internal/*.h'
|
2016-12-27 20:37:57 +00:00
|
|
|
end
|
2016-12-14 04:31:41 +00:00
|
|
|
|
2016-12-27 20:37:57 +00:00
|
|
|
s.subspec 'Default' do |cs|
|
|
|
|
|
cs.dependency 'IGListKit/Diffing'
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2019-10-31 15:17:38 +00:00
|
|
|
[cs.ios, cs.tvos].each do |os|
|
|
|
|
|
os.source_files = 'Source/IGListKit/**/*.{h,m,mm}'
|
|
|
|
|
os.private_header_files = ['Source/IGListKit/Internal/*.h']
|
|
|
|
|
end
|
2016-12-20 05:01:33 +00:00
|
|
|
|
2019-10-31 15:17:38 +00:00
|
|
|
cs.osx.source_files = 'Source/IGListKit/IGListKit.h'
|
2016-12-27 20:37:57 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
s.default_subspec = 'Default'
|
2016-09-07 22:37:59 +00:00
|
|
|
s.requires_arc = true
|
2016-10-29 21:39:18 +00:00
|
|
|
|
2019-11-01 19:37:41 +00:00
|
|
|
s.ios.deployment_target = '9.0'
|
2016-10-29 21:39:18 +00:00
|
|
|
s.tvos.deployment_target = '9.0'
|
2018-02-03 16:17:22 +00:00
|
|
|
s.osx.deployment_target = '10.11'
|
2016-09-07 22:37:59 +00:00
|
|
|
|
2016-12-14 04:31:41 +00:00
|
|
|
s.ios.frameworks = 'UIKit'
|
|
|
|
|
s.tvos.frameworks = 'UIKit'
|
|
|
|
|
s.osx.frameworks = 'Cocoa'
|
2016-12-14 07:01:21 +00:00
|
|
|
|
2016-09-07 22:37:59 +00:00
|
|
|
s.library = 'c++'
|
|
|
|
|
s.pod_target_xcconfig = {
|
|
|
|
|
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++11',
|
2019-10-31 15:17:38 +00:00
|
|
|
'CLANG_CXX_LIBRARY' => 'libc++',
|
|
|
|
|
# This allows the IGListDiffKit import path to work when compiling
|
|
|
|
|
# within IGListKit - header_mappings_dir above handles it for code
|
|
|
|
|
# depending on this pod, but not for compiling the pod itself.
|
|
|
|
|
'HEADER_SEARCH_PATHS' => '$(PODS_TARGET_SRCROOT)/Source',
|
2016-09-07 22:37:59 +00:00
|
|
|
}
|
|
|
|
|
end
|