I’ve encountered this concern whereas creating an Ionic challenge and producing the IOS model. It is exhibiting the error “ITMS-91053: Lacking API declaration”. I’ve seen the next hyperlink
ITMS-91053: Lacking API declaration – Privateness
on StackOverflow which needs to be the answer, however the error persists each time I add the appliance. Here is the entire message:
“Though submission for TestFlight overview was profitable, chances are you’ll need to right the next points in your subsequent submission for TestFlight overview. As soon as you’ve got corrected the problems, add a brand new binary to App Retailer Join.
ITMS-91053: Lacking API declaration – Your app’s code within the “MyApp” file references a number of APIs that require causes, together with the next API classes: NSPrivacyAccessedAPICategoryFileTimestamp. Whereas no motion is required presently, beginning Could 1, 2024, once you add a brand new app or app replace, you could embody a NSPrivacyAccessedAPITypes array in your app’s privateness manifest to supply authorised causes for these APIs utilized by your app’s code. For extra particulars about this coverage, together with an inventory of required purpose APIs and authorised causes for utilization, go to: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.
Apple Developer Relations”
I’ve created the next “Privateness.xcprivacy” file:
<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>35F9.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>C617.1</string>
</array>
</dict>
</array>
</dict>
</plist>
I am unsure if I am creating it accurately or if the file is not in the appropriate place.