iphone - 应用程序不允许访问UDID,并且不得使用UIDevice的uniqueIdentifier方法

标签 iphone mobile app-store app-store-connect iphone-accessory

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

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.

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.

最佳答案

通过

查找使用UDID的类

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

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

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

关于iphone - 应用程序不允许访问UDID,并且不得使用UIDevice的uniqueIdentifier方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16489079/

相关文章:

javascript - 是否有一种适用于 Android 的 Firebug 或 JavaScript 控制台调试?

css - 响应式设计失败

iphone - 如何在没有新版本的情况下更新应用程序商店中的应用程序?

iphone - 关闭动画不会运行

iphone - 如何获得设置屏幕,像Facebook应用程序一样拖动?

iphone - 核心数据与 mysql

iphone - 在 iOS 中嵌套 UIViewController

android - 与flutter中更改通知提供程序相关的问题

iphone - 在获得批准之前链接到 App Store 中的应用程序?

iphone - (iOS) 有没有办法撤回我提交的应用程序?