Amplitude-iOS icon indicating copy to clipboard operation
Amplitude-iOS copied to clipboard

Privacy Manifest is not recognized.

Open wlxo0401 opened this issue 1 year ago • 4 comments

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

  1. Install Amplitude 8.18.0 (I used SPM)
  2. Verify the presence of PrivacyInfo files in Amplitude
  3. Proceed with the App Project Archive
  4. Output a Privacy Report from the Organizer screen
  5. Check PDF

Environment

  • SDK Version: 8.18.0
  • Device: Mac(Build)
  • OS Version: MacOs 14.2.1

wlxo0401 avatar Feb 14 '24 09:02 wlxo0401

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 avatar Feb 16 '24 19:02 Mercy811

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??

wlxo0401 avatar Feb 17 '24 02:02 wlxo0401

Hi @wlxo0401, I will take a closer look into it and keep you updated. Thanks.

Mercy811 avatar Feb 20 '24 18:02 Mercy811

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.

wlxo0401 avatar Feb 21 '24 01:02 wlxo0401

@Mercy811 any other news?

wlxo0401 avatar Mar 14 '24 07:03 wlxo0401