Skip to content

Commit

Permalink
Update mParticle-Apple-SDK.podspec for privacy manifest (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonStalnaker authored Apr 19, 2024
1 parent 951a3a5 commit 7ed9198
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mParticle-Apple-SDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ Pod::Spec.new do |s|
ss.public_header_files = 'mParticle-Apple-SDK/Include/*.h'
ss.preserve_paths = 'mParticle-Apple-SDK', 'mParticle-Apple-SDK/**', 'mParticle-Apple-SDK/**/*'
ss.source_files = 'mParticle-Apple-SDK/**/*.{h,m,mm,cpp,swift}'
ss.resource_bundles = {'mParticle-Privacy' => ['PrivacyInfo.xcprivacy']}
end

s.subspec 'mParticleNoLocation' do |ss|
ss.public_header_files = 'mParticle-Apple-SDK/Include/*.h'
ss.preserve_paths = 'mParticle-Apple-SDK', 'mParticle-Apple-SDK/**', 'mParticle-Apple-SDK/**/*'
ss.source_files = 'mParticle-Apple-SDK/**/*.{h,m,mm,cpp,swift}'
ss.resource_bundles = {'mParticle-Privacy' => ['PrivacyInfo.xcprivacy']}
ss.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => 'MPARTICLE_LOCATION_DISABLE=1',
'OTHER_SWIFT_FLAGS' => '-D MPARTICLE_LOCATION_DISABLE'
Expand Down

0 comments on commit 7ed9198

Please sign in to comment.