Cannot figure out which private API I am using for macOS ap

Apple rejected my app with below reference. I searched my entire app and are not using any of the below NSErrorWithFilePath. I am not using any 3rd Party Libs. Is there a way to find out what they mean?


I am using Core Data and I found this reference to Foundation: lazy var applicationDocumentsDirectory: Foundation.URL


Your app uses or references the following non-public API(s):


'/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation'

: _NSErrorWithFilePath

: _NSErrorWithFilePathAndErrno



Any ideas?

Thank you

Great. Hopefully they will have a permanent fix for it. Still waiting for my resubmitted app to get reviewed.

What did you need to do to get it approved? Just respond and link to this forum explaining everyone is seeing this issue?

This is what finally worked for me, just got the app approved a few minutes ago.


I am using Core Data and in the App Delegate I was using the XML style not SQLite and removing references to `fatalError("Unresolved error: \(error), \(error.userInfo)")` made it pass. By the way that is basic template placed by Core Data...


Not sure if it will help others but it helped in my case.

Finally got my app approved. I hope this means the issue is resolved now. I had submitted it without any of the crash reporter symbols in it so not sure if that helped or not.

My app was approved as well after I linked this thread in my resolution center reply. I didn't resubmit the binary.

Great! I will try the same. One of my apps was also rejected for the same reasons mentioned above.

My application passed the review too. I've changed nothing. This means that now everything is back to normal. Thanks to Apple for the fast response.


I. Nikolov

My app was also reconsider for review yesterday night and is now approved.

Hope that won't happen again in futur update.


Best


Vincent

Approved!

Scary that they can make mistakes like this and waste thousands of developer hours without even giving us an apology.

Cannot figure out which private API I am using for macOS ap
 
 
Q