mirror of
https://github.com/Instagram/IGListKit
synced 2026-04-21 21:47:34 +00:00
Summary: Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1385 I attempted to work the two frameworks into a single podspec, but it didn't really work that well. Instead, let's just split them into two podspec files - this should work fine, and more closely follows the Carthage/Xcode behavior. This should address #1382. Note that the attached project does need to be edited, because we also need to manually specify the `IGListDiffKit` pod location. This issue will go away with the release of 4.0. Reviewed By: iperry90 Differential Revision: D18449843 fbshipit-source-id: 2750aee1ba39d21b9f1b3521ea8911929ae728b1
48 lines
1.3 KiB
Ruby
48 lines
1.3 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = 'IGListKit'
|
|
s.version = `scripts/version.sh`
|
|
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 => 'MIT' }
|
|
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.dependency 'IGListDiffKit', "= #{s.version}"
|
|
|
|
[s.ios, s.tvos].each do |os|
|
|
os.source_files = [
|
|
'Source/IGListDiffKit/Internal/*.h',
|
|
'Source/IGListKit/**/*.{h,m,mm}',
|
|
]
|
|
os.private_header_files = [
|
|
'Source/IGListDiffKit/Internal/*.h',
|
|
'Source/IGListKit/Internal/*.h',
|
|
]
|
|
end
|
|
|
|
s.osx.source_files = 'Source/IGListKit/IGListKit.h'
|
|
|
|
s.requires_arc = true
|
|
|
|
s.ios.deployment_target = '9.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
|