Privacy Manifest is not recognized.
Occurs while developing iOS apps
Expected Behavior
When I checked 'PrivacyReport' after proceeding Arcive, there was no Amplitude.
Current Behavior
As far as I know, the current content of 'Amplitude PrivacyInfo' should be marked on 'PrivacyReport'.
Possible Solution
SPM package needs to be modified and podspec needs to be modified as well.
I don't know if this is the right answer, but all the other libraries have gone through this process.
Steps to Reproduce
- Install Amplitude 8.18.0 (I used SPM)
- Verify the presence of PrivacyInfo files in Amplitude
- Proceed with the App Project Archive
- Output a Privacy Report from the Organizer screen
- Check PDF
Environment
- SDK Version: 8.18.0
- Device: Mac(Build)
- OS Version: MacOs 14.2.1
Hi @wlxo0401, thanks for choosing Amplitude. How did you install Amplitude SDK? You have to embed it to have the privacy manifest loaded to your archive to generate a privacy report. Read more here.
You can also copy the fields from Amplitude's privacy manifest to your project's Sources/PrivacyInfo.xcprivacy.
Hi @wlxo0401, thanks for choosing Amplitude. How did you install Amplitude SDK? You have to embed it to have the privacy manifest loaded to your archive to generate a privacy report. Read more here.
You can also copy the fields from Amplitude's privacy manifest to your project's
Sources/PrivacyInfo.xcprivacy.
@Mercy811
I install the library through SPM.
If I look at other libraries, when libraries add PrivacyInfo Modify "Package" and "podspec" together. podspec, package (ex: alamofire, Charts, RealmSwift, ZipFoundation, SDWebImage ...)
But you mean to copy 'PrivacyManifest' content of 'Amplitude' to 'PrivacyInfo' of my app project??
Hi @wlxo0401, I will take a closer look into it and keep you updated. Thanks.
Hi @wlxo0401, I will take a closer look into it and keep you updated. Thanks.
Yes, thank you. And one more thing I'm curious about
From what I see, when you add 'PrivacyInfo' in 'Amplitude', it seems that you added it to 'Package' right away. Is this right??
In my search, other libraries seem to have added 'PrivacyInfo' to 'xcworksapce' or 'xcodeproj'.
The reason why I'm guessing like this is that I checked the commitment at the time of adding 'PrivacyInfo' to each library.
And I think they set 'PrivacyInfo' target as well. (Are they targeting the library???)
I don't know what difference this makes. Maybe it doesn't make a difference. Or maybe the Amplitude way is right.
I'm just telling you the difference from the other libraries I found when you added 'PrivacyInfo'...
Looking it up, Apple doesn't seem to give clear guidelines.
I also didn't check all the libraries.
@Mercy811 any other news?