Hey, I’m updating all of my apps to target the new versions of all the plugins we use, and for some reason, I have a warning message :
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: NSPrivacyAccessedAPICategoryDiskSpace. ...
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. ...
Apple Developer Relations
But in my Cordova config.xml, I have already added the <privacy-manifest> tag:
<privacy-manifest>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>E174.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>3B52.1</string>
</array>
</dict>
</array>
</privacy-manifest>
I have already sent some applications to Apple, and there is no problem; they haven’t sent me back the ‘Missing API declaration’ error.
So in conclusion, I don’t know what the problem is for three of my app’s pool. it’s been several days that I’ve been working on this issue.
If you have a solution, please let me know.
Best regards."