Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AppStore Submission denied - Apps are not permitted to use the UDID

I'm trying to upload an application to AppStore but soon as its uploading I get this error:

  1. Your app contains non public API usage. Please review the errors, correct them, and submit your app again.

  2. Apps are not permitted to use the UDID, and must not use the unique identifier method of UIDevice. Please update your app's servers to associate with the vendor or advertising identifier introduced in iOS6.

Shouldn't these errors be displayed? I cant find any code that access the UDID.

like image 818
Jani Avatar asked May 15 '13 15:05

Jani


1 Answers

You are likely making a call somewhere to UIDevice uniqueIdentifier. This has been deprecated for a while (and just recently is causing rejection from the app store). You need to remove these calls and use some other method of generating a unique identifier.

No errors are displayed because this is actually not an error. It is perfectly valid code, just not code that Apple wants to allow in its ecosystem any more.

like image 64
bengoesboom Avatar answered Sep 22 '22 13:09

bengoesboom