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 641078e commit efbd6ea
Show file tree
Hide file tree
Showing 16 changed files with 332 additions and 150 deletions.
8 changes: 5 additions & 3 deletions Demo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
PODS:
- UIAdapter (1.0.0)
- UIAdapter (1.3.0):
- UIAdapter/Privacy (= 1.3.0)
- UIAdapter/Privacy (1.3.0)

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

SPEC CHECKSUMS:
UIAdapter: 73a799a85af7a374da3d0769b0b26a2145e546df
UIAdapter: 2c0c81c68b308e3ce8b4363d4f66b0ced8c1812f

PODFILE CHECKSUM: 0793a3778780a57cf83a43faa9039eedb0b67f7a

COCOAPODS: 1.11.2
COCOAPODS: 1.15.2
12 changes: 10 additions & 2 deletions Demo/Pods/Local Podspecs/UIAdapter.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Demo/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

382 changes: 251 additions & 131 deletions Demo/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Demo/Pods/Target Support Files/UIAdapter/UIAdapter-Info.plist

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ let package = Package(
.target(
name: "UIAdapter",
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>
7 changes: 6 additions & 1 deletion UIAdapter.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "UIAdapter"
s.version = "1.2.1"
s.version = "1.3.0"
s.summary = "iOS屏幕适配工具"

s.homepage = "https://github.com/lixiang1994/UIAdapter"
Expand All @@ -22,4 +22,9 @@ s.swift_version = '5.3'

s.cocoapods_version = '>= 1.4.0'

s.subspec 'Privacy' do |ss|
ss.resource_bundles = {
"Privacy" => 'Sources/PrivacyInfo.xcprivacy'
}
end
end
4 changes: 4 additions & 0 deletions UIAdapter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
objects = {

/* Begin PBXBuildFile section */
9BBE2D392BC565DE001F9632 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 9BBE2D382BC565DE001F9632 /* PrivacyInfo.xcprivacy */; };
9BEB034A27140DFD003CC3DD /* UIAdapter.Zoom.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BEB034627140DFD003CC3DD /* UIAdapter.Zoom.swift */; };
9BEB034B27140DFD003CC3DD /* UIAdapter.Screen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BEB034827140DFD003CC3DD /* UIAdapter.Screen.swift */; };
9BEB034C27140ED7003CC3DD /* UIAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = 9BEB034427140DFD003CC3DD /* UIAdapter.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
9BBE2D382BC565DE001F9632 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
9BEB03372713EEBA003CC3DD /* UIAdapter.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = UIAdapter.framework; sourceTree = BUILT_PRODUCTS_DIR; };
9BEB034427140DFD003CC3DD /* UIAdapter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIAdapter.h; sourceTree = "<group>"; };
9BEB034627140DFD003CC3DD /* UIAdapter.Zoom.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIAdapter.Zoom.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -50,6 +52,7 @@
isa = PBXGroup;
children = (
9BEB034427140DFD003CC3DD /* UIAdapter.h */,
9BBE2D382BC565DE001F9632 /* PrivacyInfo.xcprivacy */,
9BEB034527140DFD003CC3DD /* Zoom */,
9BEB034727140DFD003CC3DD /* Screen */,
);
Expand Down Expand Up @@ -141,6 +144,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9BBE2D392BC565DE001F9632 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down

0 comments on commit efbd6ea

Please sign in to comment.