mirror of
https://github.com/Instagram/IGListKit
synced 2026-04-21 21:47:34 +00:00
Summary: After consulting with the privacy team, we've agreed that it is best to remove the privacy manifest file until we can actually confirm if it is actually required. In particular, Apple seems to currently only send warnings to apps that it detects are using required reason APIs without declaring these in their own privacy manifest. As IGListKit does not implement any of these APIs, the manifest shouldn't be required. Following this change, if anyone does receive a rejection noticed from Apple and it is like to IGListKit, please open a new issue in this GitHub repo so we can re-review this decision at that point. Differential Revision: D56618598 fbshipit-source-id: df895708c318156525a62a007ebeae7934a870ed
55 lines
1.6 KiB
Ruby
55 lines
1.6 KiB
Ruby
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
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 = '11.0'
|
|
s.tvos.deployment_target = '11.0'
|
|
s.osx.deployment_target = '10.13'
|
|
|
|
s.ios.frameworks = 'UIKit'
|
|
s.tvos.frameworks = 'UIKit'
|
|
s.osx.frameworks = 'Cocoa'
|
|
|
|
s.library = 'c++'
|
|
s.pod_target_xcconfig = {
|
|
'OTHER_CFLAGS' => '-fmodules',
|
|
'OTHER_CPLUSPLUSFLAGS' => '-fcxx-modules',
|
|
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++11',
|
|
'CLANG_CXX_LIBRARY' => 'libc++',
|
|
}
|
|
end
|