Skip to content

Commit

Permalink
Add Privacy manifest file (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie authored Apr 12, 2024
1 parent 25a4711 commit c80edab
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 2 additions & 0 deletions LiveKitClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ Pod::Spec.new do |spec|
spec.dependency("Logging")
# spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
# spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }

spec.resource_bundles = {"Privacy" => ["Sources/LiveKit/PrivacyInfo.xcprivacy"]}
end
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ let package = Package(
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "Logging", package: "swift-log"),
],
path: "Sources"
resources: [
.process("PrivacyInfo.xcprivacy"),
]
),
.testTarget(
name: "LiveKitTests",
Expand Down
20 changes: 20 additions & 0 deletions Sources/LiveKit/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?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>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
<string>8FFB.1</string>
</array>
</dict>
</array>
</dict>
</plist>

0 comments on commit c80edab

Please sign in to comment.