AppStore 提交被拒绝 - 不允许应用使用 UDID [英] AppStore Submission denied - Apps are not permitted to use the UDID

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

问题描述

我正在尝试将应用程序上传到 AppStore,但在上传时出现此错误:

I'm trying to upload an application to AppStore but soon as its uploading I get this error:

  1. 您的应用包含非公开 API 使用.请检查错误并更正,然后再次提交您的应用.

  1. Your app contains non public API usage. Please review the errors, correct them, and submit your app again.

应用程序不允许使用UDID,并且不得使用UIDevice的唯一标识符方法.请更新您应用的服务器以与 iOS6 中引入的供应商或广告标识符相关联.

Apps are not permitted to use the UDID, and must not use the unique identifier method of UIDevice. Please update your app's servers to associate with the vendor or advertising identifier introduced in iOS6.

不应该显示这些错误吗?我找不到任何访问 UDID 的代码.

Shouldn't these errors be displayed? I cant find any code that access the UDID.

推荐答案

您可能会在某处调用 UIDevice uniqueIdentifier.这已经被弃用了一段时间(并且最近导致应用商店拒绝).您需要删除这些调用并使用其他一些方法来生成唯一标识符.

You are likely making a call somewhere to UIDevice uniqueIdentifier. This has been deprecated for a while (and just recently is causing rejection from the app store). You need to remove these calls and use some other method of generating a unique identifier.

没有显示错误,因为这实际上不是错误.这是完全有效的代码,只是 Apple 不想再允许其生态系统中使用的代码.

No errors are displayed because this is actually not an error. It is perfectly valid code, just not code that Apple wants to allow in its ecosystem any more.

这篇关于AppStore 提交被拒绝 - 不允许应用使用 UDID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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