[nanopb] Add Apple privacy manifest

This commit is contained in:
Nick Cooke authored and Petteri Aimonen committed 2024-02-16 10:56:43 +02:00
1 parent 819d0a2173
commit 4aeaf5c2c8
2 files changed
+17 -1

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
@@ -25,6 +25,7 @@ let package = Package(
"pb_encode.h",
"pb_encode.c"
],
resources: [.process("spm_resources/PrivacyInfo.xcprivacy")],
publicHeadersPath: "spm_headers",
cSettings: [
.define("PB_FIELD_32BIT", to: "1"),
+15
View File
@@ -0,0 +1,15 @@
<?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>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
</dict>
</plist>