草庐IT

ios - 非公开 API 使用 : Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice

coder 2023-09-26 原文

Xcode 6.3 中验证我的应用程序时,出现以下错误:

没有第三方框架,例如 AdMob、Google AnalyticsFlurryFacebook,在应用程序中使用。仅使用内置框架。此外,应用中使用的框架是最新的。

我在终端中尝试了以下命令来查找使用 UDID 的类;

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

但没有此类文件的列表。

我还在我的代码中搜索了 **[[UIDevice currentDevice] uniqueIdentifier]**,但它没有在任何地方使用。

那么我应该怎么做才能解决这个问题呢?

最佳答案

您来自 Xcode 的错误消息与您询问的错误消息不匹配。展开窗口以查找第二个项目符号中提到的选择器。我在文本中看到“addObserver:”,但我们无法阅读其余部分。

如果您认为 Apple 有误,该消息还会向您指出如何联系 Apple。你联系过他们吗?

关于ios - 非公开 API 使用 : Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29985601/

有关ios - 非公开 API 使用 : Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice的更多相关文章

随机推荐