rive-app / rive-ios

iOS runtime for Rive
MIT License
496 stars 57 forks source link

Missing Privacy Manifest #295

Closed pkrll closed 3 months ago

pkrll commented 6 months ago

Description

Uploading our app that includes the Rive SPM to App Store generates an issue:

ITMS-91053: Missing API declaration - Your app’s code in the ... file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code.

I've been trying to track down this issue. I might be mistaken, but it looks like it is the Rive package that causes this issue, as I could find references to the method stat (which according to Apple's documentation would trigger this warning).

Are you aware of this?

Kaspik commented 6 months ago

I don't see a warning in our project and we use Rive on iOS too.

Note that it's not only stat but also other methods, even simple creation of object in Photos library.

Screenshot 2024-03-25 at 16 27 43
pkrll commented 6 months ago

Thank you, @Kaspik . I'll take an even closer look in our project, I probably missed something then.

nicolasmarchal commented 5 months ago

Using cocoapods and RiveRuntime 5.11.1, I also have warnings when publishing to App store

caudetgit commented 5 months ago

Fyi, we are currently working on this.

caudetgit commented 3 months ago

https://github.com/rive-app/rive-ios/pull/313