0

My app failed validation saying it used a non-public API. The next line was talking about not being allowed to use UDID any more.

Does this mean I have two errors, or does this mean that the UDID IS the non-public API my app is using?

I am just not for certain if I am dealing with two seperate issues or if it is all one and the same.

user717452
  • 33
  • 14
  • 73
  • 149

1 Answers1

1

[UIDevice uniqueIdentifier] is the method in question. You can no longer collect UDIDs from devices.

Check out this question to find which file is requesting the UDID: App rejected, but I don't use UDID

If you are the one calling uniqueIdentifier, you need to use identifierForVendor in UIDevice or advertisingIdentifier in ASIdentifierManager. Most commonly, UDID issues are from external tracking code.

Community
  • 1
  • 1
Sean Kladek
  • 4,396
  • 1
  • 23
  • 29
  • 1
    More correctly, you mean the `UIDevice uniqueIdentifier` method. There is no `UDID` API. It is not private. It is deprecated. More importantly, as of May 1, 2013, Apple no longer accepts apps that use it. – rmaddy May 16 '13 at 18:07
  • Correct. Edited the response for accuracy. – Sean Kladek May 16 '13 at 18:36