Skip to content

Commit d570a38

Browse files
authored
Merge pull request #144 from onevcat/fix/privacy-manifest
Add privacy manifest
2 parents 80dea04 + d277e28 commit d570a38

File tree

4 files changed

+89
-42
lines changed

4 files changed

+89
-42
lines changed

APNGKit.podspec

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Pod::Spec.new do |s|
2525
s.source = { :git => "https://github.com/onevcat/APNGKit.git", :tag => s.version }
2626

2727
s.source_files = "Source/**/*.swift"
28+
s.resource_bundles = {"APNGKit" => ["Source/APNGKit/PrivacyInfo.xcprivacy"]}
29+
2830
s.swift_versions = ["5.3", "5.4", "5.5"]
2931
s.dependency "Delegate", "~> 1.1"
3032
end

Gemfile.lock

+45-42
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,45 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.6)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
6-
activesupport (7.0.8)
8+
activesupport (7.0.8.1)
79
concurrent-ruby (~> 1.0, >= 1.0.2)
810
i18n (>= 1.6, < 2)
911
minitest (>= 5.1)
1012
tzinfo (~> 2.0)
11-
addressable (2.8.5)
13+
addressable (2.8.6)
1214
public_suffix (>= 2.0.2, < 6.0)
1315
algoliasearch (1.27.5)
1416
httpclient (~> 2.8, >= 2.8.3)
1517
json (>= 1.5.1)
16-
artifactory (3.0.15)
18+
artifactory (3.0.17)
1719
atomos (0.1.3)
1820
aws-eventstream (1.3.0)
19-
aws-partitions (1.864.0)
20-
aws-sdk-core (3.190.0)
21+
aws-partitions (1.898.0)
22+
aws-sdk-core (3.191.4)
2123
aws-eventstream (~> 1, >= 1.3.0)
2224
aws-partitions (~> 1, >= 1.651.0)
2325
aws-sigv4 (~> 1.8)
2426
jmespath (~> 1, >= 1.6.1)
25-
aws-sdk-kms (1.74.0)
26-
aws-sdk-core (~> 3, >= 3.188.0)
27+
aws-sdk-kms (1.77.0)
28+
aws-sdk-core (~> 3, >= 3.191.0)
2729
aws-sigv4 (~> 1.1)
28-
aws-sdk-s3 (1.141.0)
29-
aws-sdk-core (~> 3, >= 3.189.0)
30+
aws-sdk-s3 (1.145.0)
31+
aws-sdk-core (~> 3, >= 3.191.0)
3032
aws-sdk-kms (~> 1)
3133
aws-sigv4 (~> 1.8)
3234
aws-sigv4 (1.8.0)
3335
aws-eventstream (~> 1, >= 1.0.2)
3436
babosa (1.0.4)
37+
base64 (0.2.0)
3538
claide (1.1.0)
36-
cocoapods (1.14.3)
39+
cocoapods (1.15.2)
3740
addressable (~> 2.8)
3841
claide (>= 1.0.2, < 2.0)
39-
cocoapods-core (= 1.14.3)
42+
cocoapods-core (= 1.15.2)
4043
cocoapods-deintegrate (>= 1.0.3, < 2.0)
4144
cocoapods-downloader (>= 2.1, < 3.0)
4245
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -51,7 +54,7 @@ GEM
5154
nap (~> 1.0)
5255
ruby-macho (>= 2.3.0, < 3.0)
5356
xcodeproj (>= 1.23.0, < 2.0)
54-
cocoapods-core (1.14.3)
57+
cocoapods-core (1.15.2)
5558
activesupport (>= 5.0, < 8)
5659
addressable (~> 2.8)
5760
algoliasearch (~> 1.0)
@@ -74,17 +77,17 @@ GEM
7477
colored2 (3.1.2)
7578
commander (4.6.0)
7679
highline (~> 2.0.0)
77-
concurrent-ruby (1.2.2)
80+
concurrent-ruby (1.2.3)
7881
declarative (0.0.20)
7982
digest-crc (0.6.5)
8083
rake (>= 12.0.0, < 14.0.0)
81-
domain_name (0.6.20231109)
84+
domain_name (0.6.20240107)
8285
dotenv (2.8.1)
8386
emoji_regex (3.2.3)
8487
escape (0.0.4)
8588
ethon (0.16.0)
8689
ffi (>= 1.15.0)
87-
excon (0.105.0)
90+
excon (0.110.0)
8891
faraday (1.10.3)
8992
faraday-em_http (~> 1.0)
9093
faraday-em_synchrony (~> 1.0)
@@ -113,8 +116,8 @@ GEM
113116
faraday-retry (1.0.3)
114117
faraday_middleware (1.2.0)
115118
faraday (~> 1.0)
116-
fastimage (2.2.7)
117-
fastlane (2.217.0)
119+
fastimage (2.3.0)
120+
fastlane (2.219.0)
118121
CFPropertyList (>= 2.3, < 4.0.0)
119122
addressable (>= 2.8, < 3.0.0)
120123
artifactory (~> 3.0)
@@ -133,6 +136,7 @@ GEM
133136
gh_inspector (>= 1.1.2, < 2.0.0)
134137
google-apis-androidpublisher_v3 (~> 0.3)
135138
google-apis-playcustomapp_v1 (~> 0.1)
139+
google-cloud-env (>= 1.6.0, < 2.0.0)
136140
google-cloud-storage (~> 1.31)
137141
highline (~> 2.0)
138142
http-cookie (~> 1.0.5)
@@ -141,7 +145,7 @@ GEM
141145
mini_magick (>= 4.9.4, < 5.0.0)
142146
multipart-post (>= 2.0.0, < 3.0.0)
143147
naturally (~> 2.2)
144-
optparse (~> 0.1.1)
148+
optparse (>= 0.1.1)
145149
plist (>= 3.1.0, < 4.0.0)
146150
rubyzip (>= 2.0.0, < 3.0.0)
147151
security (= 0.1.3)
@@ -159,40 +163,38 @@ GEM
159163
fourflusher (2.3.1)
160164
fuzzy_match (2.0.4)
161165
gh_inspector (1.1.3)
162-
google-apis-androidpublisher_v3 (0.53.0)
166+
google-apis-androidpublisher_v3 (0.54.0)
163167
google-apis-core (>= 0.11.0, < 2.a)
164-
google-apis-core (0.11.2)
168+
google-apis-core (0.11.3)
165169
addressable (~> 2.5, >= 2.5.1)
166170
googleauth (>= 0.16.2, < 2.a)
167171
httpclient (>= 2.8.1, < 3.a)
168172
mini_mime (~> 1.0)
169173
representable (~> 3.0)
170174
retriable (>= 2.0, < 4.a)
171175
rexml
172-
webrick
173176
google-apis-iamcredentials_v1 (0.17.0)
174177
google-apis-core (>= 0.11.0, < 2.a)
175178
google-apis-playcustomapp_v1 (0.13.0)
176179
google-apis-core (>= 0.11.0, < 2.a)
177-
google-apis-storage_v1 (0.29.0)
180+
google-apis-storage_v1 (0.31.0)
178181
google-apis-core (>= 0.11.0, < 2.a)
179-
google-cloud-core (1.6.1)
182+
google-cloud-core (1.7.0)
180183
google-cloud-env (>= 1.0, < 3.a)
181184
google-cloud-errors (~> 1.0)
182-
google-cloud-env (2.0.1)
183-
faraday (>= 1.0, < 3.a)
184-
google-cloud-errors (1.3.1)
185-
google-cloud-storage (1.45.0)
185+
google-cloud-env (1.6.0)
186+
faraday (>= 0.17.3, < 3.0)
187+
google-cloud-errors (1.4.0)
188+
google-cloud-storage (1.47.0)
186189
addressable (~> 2.8)
187190
digest-crc (~> 0.4)
188191
google-apis-iamcredentials_v1 (~> 0.1)
189-
google-apis-storage_v1 (~> 0.29.0)
192+
google-apis-storage_v1 (~> 0.31.0)
190193
google-cloud-core (~> 1.6)
191194
googleauth (>= 0.16.2, < 2.a)
192195
mini_mime (~> 1.0)
193-
googleauth (1.9.0)
194-
faraday (>= 1.0, < 3.a)
195-
google-cloud-env (~> 2.0, >= 2.0.1)
196+
googleauth (1.8.1)
197+
faraday (>= 0.17.3, < 3.a)
196198
jwt (>= 1.4, < 3.0)
197199
multi_json (~> 1.11)
198200
os (>= 0.9, < 2.0)
@@ -201,24 +203,26 @@ GEM
201203
http-cookie (1.0.5)
202204
domain_name (~> 0.5)
203205
httpclient (2.8.3)
204-
i18n (1.14.1)
206+
i18n (1.14.4)
205207
concurrent-ruby (~> 1.0)
206208
jmespath (1.6.2)
207209
json (2.7.1)
208-
jwt (2.7.1)
210+
jwt (2.8.1)
211+
base64
209212
mini_magick (4.12.0)
210213
mini_mime (1.1.5)
211-
minitest (5.20.0)
214+
minitest (5.22.3)
212215
molinillo (0.8.0)
213216
multi_json (1.15.0)
214-
multipart-post (2.3.0)
217+
multipart-post (2.4.0)
215218
nanaimo (0.3.0)
216219
nap (1.1.0)
217220
naturally (2.2.1)
218221
netrc (0.11.0)
219-
optparse (0.1.1)
222+
nkf (0.2.0)
223+
optparse (0.4.0)
220224
os (1.1.4)
221-
plist (3.7.0)
225+
plist (3.7.1)
222226
public_suffix (4.0.7)
223227
rake (13.1.0)
224228
representable (3.2.0)
@@ -232,7 +236,7 @@ GEM
232236
ruby2_keywords (0.0.5)
233237
rubyzip (2.3.2)
234238
security (0.1.3)
235-
signet (0.18.0)
239+
signet (0.19.0)
236240
addressable (~> 2.8)
237241
faraday (>= 0.17.5, < 3.a)
238242
jwt (>= 1.5, < 3.0)
@@ -245,7 +249,7 @@ GEM
245249
unicode-display_width (>= 1.1.1, < 3)
246250
trailblazer-option (0.1.2)
247251
tty-cursor (0.7.1)
248-
tty-screen (0.8.1)
252+
tty-screen (0.8.2)
249253
tty-spinner (0.9.3)
250254
tty-cursor (~> 0.7)
251255
typhoeus (1.4.1)
@@ -254,9 +258,8 @@ GEM
254258
concurrent-ruby (~> 1.0)
255259
uber (0.1.0)
256260
unicode-display_width (2.5.0)
257-
webrick (1.8.1)
258261
word_wrap (1.0.0)
259-
xcodeproj (1.23.0)
262+
xcodeproj (1.24.0)
260263
CFPropertyList (>= 2.3.3, < 4.0)
261264
atomos (~> 0.1.3)
262265
claide (>= 1.0.2, < 2.0)

[email protected]

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version:5.9
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "APNGKit",
6+
platforms: [.macOS(.v10_13), .iOS(.v12), .tvOS(.v12)],
7+
products: [
8+
.library(name: "APNGKit", targets: ["APNGKit"])
9+
],
10+
dependencies: [
11+
.package(url: "https://github.com/onevcat/Delegate.git", from: "1.1.1")
12+
],
13+
targets: [
14+
.target(
15+
name: "APNGKit",
16+
dependencies: ["Delegate"],
17+
resources: [.copy("PrivacyInfo.xcprivacy")]
18+
),
19+
.testTarget(
20+
name: "APNGKitTests",
21+
dependencies: ["APNGKit"],
22+
resources: [
23+
.copy("Resources/SpecTesting"),
24+
.copy("Resources/General"),
25+
]
26+
)
27+
]
28+
)

Source/APNGKit/PrivacyInfo.xcprivacy

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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>NSPrivacyAccessedAPITypes</key>
6+
<array/>
7+
<key>NSPrivacyTracking</key>
8+
<false/>
9+
<key>NSPrivacyTrackingDomains</key>
10+
<array/>
11+
<key>NSPrivacyCollectedDataTypes</key>
12+
<array/>
13+
</dict>
14+
</plist>

0 commit comments

Comments
 (0)