Skip to content

Commit

Permalink
Add NSPrivacyCollectionDataTypes to privacy manifest
Browse files Browse the repository at this point in the history
It appears `NSPrivacyCollectionDataTypes` is a required field in the privacy manifest. Since we don't collect any data in our runtimes, I have left the data types array empty.

Reference: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests?language=objc

Diffs=
de0eb61fe Add NSPrivacyCollectionDataTypes to privacy manifest (#7242)

Co-authored-by: Maxwell Talbot <[email protected]>
Co-authored-by: Philip Chung <[email protected]>
  • Loading branch information
3 people committed May 10, 2024
1 parent 0f0bd61 commit 7ba8990
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/RiveRuntime.podspec.template
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ Pod::Spec.new do |spec|
}
spec.ios.vendored_frameworks = 'RiveRuntime.xcframework'
spec.osx.vendored_frameworks = 'RiveRuntime.xcframework'
spec.resource_bundles = {'runtime_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
end
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5ccc21fa3a5f726827da601f04cf234138b379df
de0eb61fec94f4c8cd7c99330aec9ab498052160
3 changes: 3 additions & 0 deletions Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<!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>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion RiveRuntime.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Pod::Spec.new do |spec|
spec.ios.vendored_frameworks = 'RiveRuntime.xcframework'
spec.osx.vendored_frameworks = 'RiveRuntime.xcframework'
spec.resource_bundles = {'runtime_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
end
end

0 comments on commit 7ba8990

Please sign in to comment.