-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing API declaration for NSPrivacyAccessedAPICategoryDiskSpace when integrated via SPM #408
Comments
I faced the same issue. Thank you for reporting @ksdjfksd ! |
We almost have no time until May 1. Could anybody raise the priority for the ticket ? For me it's a blocker. |
Similar discussion and workaround for Firebase here |
Hmmm, the bug is related to Swift Package Manager and it was opened Feb 4. |
Few days ago Apple updated their documentation related to static libs
The link to documentation is here |
Sounds like the offending code should be pulled into another library, or this library should add suggestions for how to add the privacy reasons to your app that this violates.. I don't see any other way around this, do you guys? |
We integrate DeviceKit 5.2.3 via Swift Package Manager (SPM).
Upon upload for review to the AppStore we receive the mail by Apple with the warning about missing API declaration for NSPrivacyAccessedAPICategoryDiskSpace.
I investigated the payload of the uploaded .ipa and it contains DeviceKit_DeviceKit.bundle.
Inside of this bundle I can also see the PrivacyInfo.xcprivacy file.
This means the PrivacyInfo file should be recognized during the AppStore review process. But the issue is: It does not get recognized and our app is flagged for using NSPrivacyAccessedAPICategoryDiskSpace without declaration.
I have tried to upload a version to app review where I removed DeviceKit from the app.
This version passed review without being flagged.
So it must be an issue with the DeviceKit SPM package integration.
The text was updated successfully, but these errors were encountered: