From b6abdfebb31a3b3b1dd649714057b31cf614e7e1 Mon Sep 17 00:00:00 2001 From: Jia Song <593908937@qq.com> Date: Tue, 19 Mar 2024 16:25:06 +0800 Subject: [PATCH] Fixed duplicated privacy statement issue in Static Framework. (#1605) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复PrivacyInfo.xcprivacy重复的问题 https://github.com/CoderMJLee/MJRefresh/issues/1604 * Update MJRefresh.podspec --------- Co-authored-by: Frank <472730949@qq.com> --- MJRefresh.podspec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MJRefresh.podspec b/MJRefresh.podspec index 17bf5269..f9263e14 100644 --- a/MJRefresh.podspec +++ b/MJRefresh.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MJRefresh' - s.version = '3.7.7' + s.version = '3.7.8' s.summary = 'An easy way to use pull-to-refresh' s.homepage = 'https://github.com/CoderMJLee/MJRefresh' s.license = 'MIT' @@ -9,6 +9,7 @@ Pod::Spec.new do |s| s.source = {:git => 'https://github.com/CoderMJLee/MJRefresh.git', :tag => s.version} s.source_files = 'MJRefresh/**/*.{h,m}' s.exclude_files = 'MJRefresh/include/**' - s.resources = 'MJRefresh/MJRefresh.bundle', 'MJRefresh/PrivacyInfo.xcprivacy' + s.resource = 'MJRefresh/MJRefresh.bundle' + s.resource_bundles = { 'MJRefresh.Privacy' => 'MJRefresh/PrivacyInfo.xcprivacy' } s.requires_arc = true end