Skip to content

Commit

Permalink
添加隐私清单文件
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang1994 committed Apr 9, 2024
1 parent 0ceaba0 commit 8f0d916
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
13 changes: 9 additions & 4 deletions YYText.podspec
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
Pod::Spec.new do |s|
s.name = 'YYText'
s.summary = 'Powerful text framework for iOS to display and edit rich text.'
s.version = '1.0.7'
s.version = '1.1.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'ibireme' => 'ibireme@gmail.com' }
s.social_media_url = 'http://blog.ibireme.com'
s.homepage = 'https://github.com/ibireme/YYText'
s.homepage = 'https://github.com/castbox/YYText'
s.platform = :ios, '6.0'
s.ios.deployment_target = '6.0'
s.source = { :git => 'https://github.com/ibireme/YYText.git', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/castbox/YYText.git', :tag => s.version.to_s }

s.requires_arc = true
s.source_files = 'YYText/**/*.{h,m}'
s.public_header_files = 'YYText/**/*.{h}'

s.frameworks = 'UIKit', 'CoreFoundation','CoreText', 'QuartzCore', 'Accelerate', 'MobileCoreServices'


s.subspec 'Privacy' do |ss|
ss.resource_bundles = {
"Privacy" => 'YYText/Resources/PrivacyInfo.xcprivacy'
}
end
end
14 changes: 14 additions & 0 deletions YYText/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
</dict>
</plist>

0 comments on commit 8f0d916

Please sign in to comment.