Skip to content

Commit

Permalink
fix PrivacyInfo.xcprivacy should be placed in SVProcessHUD.bundle SVP…
Browse files Browse the repository at this point in the history
  • Loading branch information
zwt committed Mar 26, 2024
1 parent 34482a5 commit 8de7125
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SVProgressHUD.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ Pod::Spec.new do |s|

s.subspec 'Core' do |core|
core.source_files = 'SVProgressHUD/*.{h,m}'
core.resources = ['SVProgressHUD/SVProgressHUD.bundle', 'SVProgressHUD/PrivacyInfo.xcprivacy']
core.resources = ['SVProgressHUD/SVProgressHUD.bundle']
core.resource_bundles = {'SVProgressHUD' => ['SVProgressHUD/PrivacyInfo.xcprivacy']}
end

s.subspec 'AppExtension' do |ext|
ext.source_files = 'SVProgressHUD/*.{h,m}'
ext.resources = ['SVProgressHUD/SVProgressHUD.bundle', 'SVProgressHUD/PrivacyInfo.xcprivacy']
ext.resources = ['SVProgressHUD/SVProgressHUD.bundle']
ext.resource_bundles = {'AppExtension' => ['SVProgressHUD/PrivacyInfo.xcprivacy']}
ext.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'SV_APP_EXTENSIONS=1' }
end
end

0 comments on commit 8de7125

Please sign in to comment.