File tree Expand file tree Collapse file tree 4 files changed +36
-3
lines changed Expand file tree Collapse file tree 4 files changed +36
-3
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,7 @@ Pod::Spec.new do |s|
22
22
s . source = { :git => 'https://github.com/devicekit/DeviceKit.git' , :tag => s . version }
23
23
s . source_files = 'Source/Device.generated.swift'
24
24
25
+ s . resources = 'PrivacyInfo.xcprivacy'
26
+
25
27
s . requires_arc = true
26
28
end
Original file line number Diff line number Diff line change 57
57
95C7E84D1C6130DB00B0189E /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .swiftlint.yml; sourceTree = "<group>"; };
58
58
95C7E84E1C61332300B0189E /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
59
59
FC5C20FA2A5197E2009406EE /* .github */ = {isa = PBXFileReference; lastKnownFileType = folder; path = .github; sourceTree = "<group>"; };
60
+ FC6B86C22ACC1A0900E9D70B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
60
61
FCF1EAD323381E5700B609AA /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
61
62
/* End PBXFileReference section */
62
63
118
119
95CBDB631BFD2B440065FC66 = {
119
120
isa = PBXGroup;
120
121
children = (
122
+ FC6B86C22ACC1A0900E9D70B /* PrivacyInfo.xcprivacy */,
121
123
FC5C20FA2A5197E2009406EE /* .github */,
122
124
95C7E83B1C6122BF00B0189E /* Source */,
123
125
95C7E8411C61241200B0189E /* Tests */,
Original file line number Diff line number Diff line change @@ -23,19 +23,24 @@ let package = Package(
23
23
// Products define the executables and libraries produced by a package, and make them visible to other packages.
24
24
. library(
25
25
name: " DeviceKit " ,
26
- targets: [ " DeviceKit " ] )
26
+ targets: [ " DeviceKit " ]
27
+ )
27
28
] ,
28
29
targets: [
29
30
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
30
31
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
31
32
. target(
32
33
name: " DeviceKit " ,
33
34
dependencies: [ ] ,
34
- path: " Source " ) ,
35
+ path: " Source " ,
36
+ resources: [ . copy( " PrivacyInfo.xcprivacy " ) ]
37
+ ) ,
35
38
. testTarget(
36
39
name: " DeviceKitTests " ,
37
40
dependencies: [ " DeviceKit " ] ,
38
- path: " Tests " )
41
+ path: " Tests " ,
42
+ resources: [ . copy( " PrivacyInfo.xcprivacy " ) ]
43
+ )
39
44
] ,
40
45
swiftLanguageVersions: [ . v5]
41
46
)
Original file line number Diff line number Diff line change
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 >NSPrivacyCollectedDataTypes</key >
8
+ <array />
9
+ <key >NSPrivacyAccessedAPITypes</key >
10
+ <array >
11
+ <dict >
12
+ <key >NSPrivacyAccessedAPITypeReasons</key >
13
+ <array >
14
+ <string >85F4.1</string >
15
+ <string >E174.1</string >
16
+ </array >
17
+ <key >NSPrivacyAccessedAPIType</key >
18
+ <string >NSPrivacyAccessedAPICategoryDiskSpace</string >
19
+ </dict >
20
+ </array >
21
+ <key >NSPrivacyTracking</key >
22
+ <false />
23
+ </dict >
24
+ </plist >
You can’t perform that action at this time.
0 commit comments