Page 1 of 1

ITMS-91053: Missing API declaration

Posted: Fri Apr 05, 2024 5:15 am
by LG73
My latest app beta update submissions for TestFlight have generated warning e-mails about issues with missing API declarations. The specific API categories are NSPrivacyAccessedAPICategorySystemBootTime, NSPrivacyAccessedAPICategoryFileTimestamp and NSPrivacyAccessedAPICategoryDiskSpace.

This is something that has to be resolved by May 1st. In the e-mail for each of the 3 API issues, Apple says: "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'm using LiveCode 10.0.0 (dp 7). Anyone know which inclusions or standalone settings for iOS might be triggering the above?

Re: ITMS-91053: Missing API declaration

Posted: Fri Apr 05, 2024 6:39 pm
by jacque
I did a quick look at the requirements and I think these probably relate to the main functions of your app, which I think does music playback, right? The timestamp one specifically mentions audio playback calculations. If your app stores any data on the device, that would explain the diskspace requirement. I suspect the boot time is also related to audio calculations.

It probably wouldn't be too hard to adjust the manifest to include the specific reasons you need to access these days APIs. You must use the specified reasons here:https://developer.apple.com/documentati ... reason_api

Re: ITMS-91053: Missing API declaration

Posted: Fri Apr 05, 2024 7:06 pm
by Klaus
As far as I know, LC is already working on an update which will support these new requirements.

Re: ITMS-91053: Missing API declaration

Posted: Thu Apr 18, 2024 8:28 pm
by MWCoastMedia
Arrived here after submitting a new build to the App Store today and getting flagged for this too using LC 9.6.11. My app has NO iOS requirements.

Re: ITMS-91053: Missing API declaration

Posted: Fri Apr 19, 2024 6:10 pm
by jacque
MWCoastMedia wrote:
Thu Apr 18, 2024 8:28 pm
Arrived here after submitting a new build to the App Store today and getting flagged for this too using LC 9.6.11. My app has NO iOS requirements.
It's probably APIs the engine is calling. Look at the manifest in a text editor and see what's in there. Usually there's a list at the bottom with LC default strings you can edit.

Re: ITMS-91053: Missing API declaration

Posted: Tue Apr 30, 2024 5:17 pm
by LiveCode_Panos
Hello all,

We have added a lesson on how to create a privacy manifest and include it in the iOS app:

https://lessons.livecode.com/m/4069/l/1 ... ur-ios-app

You can follow the lesson and add your own privacy manifest to the Copy Files section in any existing LiveCode version (e.g. 9.6.11 or 10.0.0 DP-7).

Note that very shortly we will release 9.6.12 RC1 and 10.0.0 DP-8 that will automatically include a sensible default privacy manifest when building an iOS app, which will be replaced by your own custom one *if* you provide one in the Copy Files - but this will probably not be necessary in most cases.

Hope this helps.

Kind regards,
Panos
--