IGListKit/IGListDiffKit.podspec
Tim Oliver 8213ddbc87 Add privacy manifest file to IGListKit
Summary:
By popular demand, adds a `PrivacyInfo.xcprivacy` defining the privacy policies of IGListKit. As a purely UI based library, there are no privacy implications of IGListKit, but it is still necessary to add an empty manifest file to indicate this.

The privacy manifest has been added to CocoaPods, SPM and to generated dynamic frameworks for Carthage.

I had to change the behaviour of `IGListSwiftKit` to rely on the same symlink mechanism as the Obj-C libraries in order to combine the Swift files and the privacy manifest into the same directory that can then be pointed at by SPM.

Reviewed By: benhgreen

Differential Revision: D54935762

fbshipit-source-id: 5b0ab5dd4b807097c2c9589bc250424550bf1d83
2024-03-17 21:54:13 -07:00

44 lines
1.4 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 = 'IGListDiffKit'
s.version = `scripts/version.sh`
s.summary = 'Diffing utilities for a data-driven UICollectionView framework.'
s.homepage = 'https://github.com/Instagram/IGListKit'
s.documentation_url = 'https://instagram.github.io/IGListKit'
s.description = 'Diffing utilities for 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.source_files = 'Source/IGListDiffKit/**/*.{h,m,mm}'
s.private_header_files = 'Source/IGListDiffKit/Internal/*.h'
s.resources = ['Source/PrivacyInfo.xcprivacy']
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