iOSアプリを提出しようとしたらuniqueIdentifierで怒られた

昨日、Twitter API 1.1移行で修正したアプリを iTunesConnectに提出しようとしたら、Validationで怒られた。

* Your App contains non-public API usage. Please review the errors, correct them, and resubmit your application.
* Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of the UIDevice. Please update your apps and servers to associate users with the Vendor or Advertiser identifiers introduced in iOS 6.
* If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's nine-digit Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit technical support information page at http://developer.apple.com/support/technical/.

だって。


という訳で、今回はこの問題を解決して提出したメモ。