不允许应用访问UDID,不得使用UIDevice的uniqueIdentifier方法 [英] Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice

查看:25
本文介绍了不允许应用访问UDID,不得使用UIDevice的uniqueIdentifier方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能帮我解决下面提到的从应用商店获取的问题吗

Will you please help me to fix this below mentioned issue getting from Apps store

应用程序不得访问 UDID,不得使用UIDevice 的 uniqueIdentifier 方法.请更新您的应用程序和服务器将用户与供应商或广告标识符相关联iOS 6 中引入.如果源代码中的方法名称匹配上面列出的私有 Apple API,更改您的方法名称将有所帮助防止在以后的提交中标记此应用程序.在此外,请注意上述一个或多个 API 可能位于包含在您的应用程序中的静态库.如果是这样,它们必须是已移除.

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 method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.

如果您认为此消息是错误发送的并且您只有按照指南使用 Apple 发布的 API,发送应用程序的九位 Apple ID,以及有关原因的详细信息您认为上述 API 被错误标记,appreview@apple.com.如需更多信息,请访问技术支持信息页面.

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 the Technical Support Information page.

更正这些问题后,请转到版本详细信息页面并单击准备上传二进制文件".继续提交直到应用程序状态为等待上传".然后你可以交付更正后的二进制文件.

Once these issues have been corrected, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.

推荐答案

通过

(通过项目目录中的终端)

(by terminal in the project directory)

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

您找到使用 UDID 的类,然后替换它并使用 UUID 或者如果您使用外部类,则将其替换为新类

you find the classes that use UDID then replace it and use UUID or replace it by new class if you are using external classes

这篇关于不允许应用访问UDID,不得使用UIDevice的uniqueIdentifier方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆