I'm trying to upload an application to AppStore but soon as its uploading I get this error:
Your app contains non public API usage. Please review the errors, correct them, and submit your app again.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With