僕が作ったサービス

clanworkz

2013年6月5日水曜日

your app contains non-public API usage.

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 UIDevice.
Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6.

if you think this message was sent in error and that you have only used Appli-published APIs in accordance with the guidelines, send the app's
nine-degit Apple ID, along with detaild information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com.
For further information, visit the Technical Support Information page at http://developer.apple.com/support/technical/.



既存のiPhoneアプリを最近更新しようとしたらvalidationで上記のエラー。

どうやら2013/5/1に規約が変更になったらしい。
UIDeviceのuniqueIdentifierメソッドを使用していると申請が通らないらしい。

しかしアプリ内を検索してもどこにもuniqueIdentifierメソッドなんぞ使用していない様子。

困っていたところでこの記事を見つけた
Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice (stackoverflow)

ターミナルでgrepしてみるとどうやら外部ライブラリのバイナリデータ内で使用されていた様子だ。

ちなみにコマンドはこれ
find . | grep -v .svn  | grep "\.a" | grep -v "\.app" | xargs grep uniqueIdentifier

これは気づかなんだわ。




0 件のコメント:

コメントを投稿