Explorar o código

Fixed duplicated privacy statement issue in Static Framework. (#1605)

* 修复PrivacyInfo.xcprivacy重复的问题

https://github.com/CoderMJLee/MJRefresh/issues/1604

* Update MJRefresh.podspec

---------

Co-authored-by: Frank <472730949@qq.com>
Jia Song hai 1 ano
pai
achega
b6abdfebb3
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      MJRefresh.podspec

+ 3 - 2
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