Reputation: 11
I work at a company that distributes its third-party iOS SDK to its customers. As per WWDC2023, Apple has made it mandatory for third-party SDKs to include PrivacyInfo.xcprivacy manifest file which contains the Privacy Nutrition Labels. I have added this file to my SDK and we have a custom build script to generate .zip file to distribute. The manifest file is getting added in .zip file, but when we use this SDK to build a sample iOS application, when I generate the archive file and try to generate a privacy report for this archive, it says " The archive does not contain any PrivacyInfo.xcprivacy files ". Can you please suggest what could be that I am doing wrong?
Apple WWDC2023 video for third-party SDKs - https://developer.apple.com/videos/play/wwdc2023/10060/
I have to manually place this file without using Xcode and it didn't work. Need help to make sure the manifest file content gets included in privacy report of the sample iOS app that uses this SDK.
Upvotes: 1
Views: 1142
Reputation: 65449
Resources
The file should be included as a resource, not as a source. It should en up in the same folder as Info.plist
Data collection vs required reason API usage
Use the privacy report to better understand all of the data collected by your app
The Privacy Report only includes the collected data types the app and it's SDK's collect and track. The descriptions of use of required reason API's information that is included in the manifests is never included in the privacy report.
So if you app, or the SDKs that it uses don't collect any data, your report could be empty or can't be saved.
Upvotes: 0
Reputation: 11
Did you add appropriate targets to the PrivacyInfo.xcprivacy file?
I fixed the same error by doing so.
Upvotes: 1