Skip to content

Commit

Permalink
添加隐私清单
Browse files Browse the repository at this point in the history
lixiang1994 committed Apr 9, 2024
1 parent e2f3c34 commit 047d0d5
Showing 4 changed files with 28 additions and 6 deletions.
7 changes: 6 additions & 1 deletion AutoInch.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "AutoInch"
s.version = "2.4.1"
s.version = "2.5.0"
s.summary = "优雅的iPhone 等比例/精准 适配工具"

s.homepage = "https://github.com/lixiang1994/AutoInch"
@@ -22,4 +22,9 @@ s.frameworks = "UIKit", "Foundation"

s.swift_versions = ["5.0"]

s.subspec 'Privacy' do |ss|
ss.resource_bundles = {
"Privacy" => 'Sources/PrivacyInfo.xcprivacy'
}
end
end
8 changes: 5 additions & 3 deletions Demo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
PODS:
- AutoInch (2.2.0)
- AutoInch (2.5.0):
- AutoInch/Privacy (= 2.5.0)
- AutoInch/Privacy (2.5.0)

DEPENDENCIES:
- AutoInch (from `../`)
@@ -9,8 +11,8 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
AutoInch: 1239050818579ea0cb009cfb73c153f83e83f3ce
AutoInch: 1d75dc0ef81b295f913b038cc4dd4ecd32e1e1b9

PODFILE CHECKSUM: ecf7d3b2dbf7db87c4f919501ebdb320458e7aef

COCOAPODS: 1.10.1
COCOAPODS: 1.15.2
5 changes: 3 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.3
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
@@ -22,7 +22,8 @@ let package = Package(
.target(
name: "AutoInch",
dependencies: [],
path: "Sources"
path: "Sources",
resources: [.process("PrivacyInfo.xcprivacy")]
)
]
)
14 changes: 14 additions & 0 deletions Sources/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 047d0d5

Please sign in to comment.