AppStore Submission denied - 不允许应用程序使用UDID和uniqueIdentifier

时间:2013-06-05 16:10:52

标签: ios submit uniqueidentifier udid

我已经一周没有取得进展了。我已经阅读了一千个论坛,但找不到解决方案。

我更新了Flurry,BugSense和CorePlot框架。这没效果。

我在我的代码中搜索了'uniqueIdentifier'和'UDID',但没有匹配。

我怎么知道问题出在哪里?

提前致谢。

1 个答案:

答案 0 :(得分:0)

在项目中查找使用UDID的类。你可以使用终端这样做。

示例:

find . | grep -v .svn  | grep "\.a" | grep -v "\.app" | xargs grep uniqueIdentifier

将UDID替换为UUID。

参考这篇文章:Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice

试试这个:

The problem is that your project still refer to the old SDK and it compiles the code with your old sdk methods including the UDID which apple rejects.
Fix it in your build properties of SEARCH PATH Framework Search Paths Library Search Paths
remove unnecessary values such as old sdk path and put there your current sdk path
clean all project's files: Window->Organizer->Project - delete your project Product->Clean
Now rebuild it and resubmit it to apple.