Skip to content

Commit de99c00

Browse files
authored
Merge pull request #114 from LongXiangGuo/add-ios-privacy-manifest
Add iOS Privacy Manifest
2 parents 40ef4b6 + 56c1e1b commit de99c00

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

IOSSecuritySuite.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Pod::Spec.new do |s|
1010
s.ios.frameworks = 'UIKit', 'Foundation'
1111
s.source = { :git => "https://github.com/securing/IOSSecuritySuite.git", :tag => "#{s.version}" }
1212
s.source_files = "IOSSecuritySuite/*.swift"
13+
s.resource_bundles = {'IOSSecuritySuitePrivacy' => ['Resources/PrivacyInfo.xcprivacy']}
1314
s.swift_version = '5.0'
1415
s.requires_arc = true
1516
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }

Resources/PrivacyInfo.xcprivacy

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyTrackingDomains</key>
6+
<array/>
7+
<key>NSPrivacyAccessedAPITypes</key>
8+
<array>
9+
<dict>
10+
<key>NSPrivacyAccessedAPIType</key>
11+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
12+
<key>NSPrivacyAccessedAPITypeReasons</key>
13+
<array>
14+
<string>3B52.1</string>
15+
</array>
16+
</dict>
17+
<dict>
18+
<key>NSPrivacyAccessedAPIType</key>
19+
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
20+
<key>NSPrivacyAccessedAPITypeReasons</key>
21+
<array>
22+
<string>E174.1</string>
23+
</array>
24+
</dict>
25+
</array>
26+
<key>NSPrivacyCollectedDataTypes</key>
27+
<array/>
28+
<key>NSPrivacyTracking</key>
29+
<false/>
30+
</dict>
31+
</plist>

0 commit comments

Comments
 (0)