amplitude / Amplitude-Swift

Native iOS/tvOS/macOS/watchOS SDK
MIT License
32 stars 22 forks source link

[Critical] Binary is rejected on AppStore Review #162

Closed emartinson closed 5 months ago

emartinson commented 5 months ago

When I submit build to AppStore Review - after a while I get it rejected with: Invalid Binary

Expected Behavior

Binary is not rejected.

Current Behavior

ITMS-91064: Invalid tracking information - A PrivacyInfo.xcprivacy file contains invalid tracking information at the following path: “Frameworks/AmplitudeSwift.framework/PrivacyInfo.xcprivacy”. NSPrivacyTracking must be true if NSPrivacyTrackingDomains isn‘t empty. Keys and values in your app’s privacy manifest must be valid. For more details about privacy manifest files, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files.

Possible Solution

I tried to set Privacy Tracking Enabled to YES in my own PrivacyManifest file. It seems to fix the preprocessing warning. But Binary is still gets rejected.

Steps to Reproduce

  1. Submit build to AppStore -> build is validated successfully
  2. Add build to Version
  3. Submit version to Review

Environment

image image image
izaaz commented 5 months ago

@emartinson are you using the latest version of the library? The domains were removed in version 1.4.5

https://github.com/amplitude/Amplitude-Swift/pull/155

emartinson commented 5 months ago

Yes, I do. I haven't figured out why I got these messages. I've managed to pass review by correcting local privacy manifest. I think this issue may be closed