braze-inc / braze-swift-sdk

Braze SDK for the Apple ecosystem, including: iOS, macOS, iPadOS, visionOS, tvOS
https://www.braze.com
Other
52 stars 19 forks source link

[Bug]: ITMS-91064: Invalid tracking information #146

Open kshrikant opened 3 days ago

kshrikant commented 3 days ago

Platform

iOS

Platform Version

iOS 18

Braze SDK Version

11.3.0

Xcode Version

XCode 16

Computer Processor

Apple (M1)

Repro Rate

100

Steps To Reproduce

While build upload its giving error -

Screenshot 2024-11-14 at 7 40 42 PM

Expected Behavior

Build should upload without error.

Actual Incorrect Behavior

Please correct the following issues and upload a new binary to App Store Connect.

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

Apple Developer Relations

Verbose Logs

No response

Additional Information

No response

kshrikant commented 3 days ago

@lowip @jerielng @hokstuff could you please help me to resolve this ?

jerielng commented 3 days ago

Hey @kshrikant, could you verify the version you are using? This should be resolved in the latest, or any version 9.0.0 or greater.

kshrikant commented 3 days ago

Hey @kshrikant, could you verify the version you are using? This should be resolved in the latest, or any version 9.0.0 or greater.

yes, as i said its 11.3.0

Screenshot 2024-11-14 at 8 20 34 PM
jerielng commented 3 days ago

@kshrikant Could you write into support@braze.com with further details of your project, including:

In your email, reference this GitHub issue, and our support team will be able to dive in deeper to diagnose this. Thanks!

kshrikant commented 3 days ago

@jerielng We are using static framework by installing 11.3.0 version.

I got this latest update from Apple -

https://developer.apple.com/documentation/bundleresources/adding-a-privacy-manifest-to-your-app-or-third-party-sdk

From Nov 12 2024 there is update about the structuring the path -

PrivacyInfo.xcprivacy at SampleFramework.framework/PrivacyInfo.xcprivacy:

But for Brazekit I can see the path is little different for reference -

Screenshot 2024-11-14 at 10 41 32 PM Screenshot 2024-11-14 at 10 41 43 PM

Could you please check this once and let me know ?

jerielng commented 3 days ago

@kshrikant At the moment, we don't have reason to believe that the path is incorrect since the email you shared was able to successfully detect the location of the privacy manifest. The error message in that email indicates an issue that was resolved in 9.0.0, where we removed the URLs from the list of tracking domains. If you are able to write in to our support team, we should be able to dive deeper into this to understand the issue further.