iTunes App 提交无效的二进制问题

iTunes App 提交无效的二进制问题

问题描述:

非公共 API 使用:

Non-public API usage:

应用不允许访问 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.

请帮助我如何避免他的问题.

Kindly help me how to i avoid his problem.

问候约翰

应用不允许访问UDID,并且不得使用uniqueIdentifier方法UIDevice.请更新您的应用和服务器,以将用户与 iOS 6 中引入的供应商广告标识符相关联

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

这就是你的答案.

"从 5 月 1 日起,App Store 将不再接受访问 UDID 的新应用或应用更新.请更新您的应用和服务器,以将用户与 iOS 6 中引入的供应商或广告标识符相关联"

来源

Apple 现在阻止任何访问 UIDeviceuniqueIdentifier 属性的应用程序.将任何出现替换为 供应商或广告标识符或使用OpenUDID.>

Apple now block any App which accesses the uniqueIdentifier property of UIDevice. Replace any occurrence with the Vendor or Advertising identifiers or use OpenUDID.

NSUUID *uuid = [[UIDevice currentDevice] identifierForVendor];
NSString *uuidString = [uuid UUIDString];

一些可能有帮助的 * 问题:

A few * questions which may be of help:

如果您自己没有使用过uniqueIdentifier,那么它将是一个调用它的SDK 库.通常来自 Mobclix、AdMob 或 Smaato 等广告网络.所有流行的广告网络都更新了删除 uniqueIdentifier 的 SDK.检查他们的网站以获取最新的 SDK.

If you haven't used uniqueIdentifier yourself, then it will be an SDK Library calling it. Normally from an ad network such as Mobclix, AdMob or Smaato. All the popular ad networks have updated SDK's which remove uniqueIdentifier. Check their websites for the latest SDK.

更新

刚刚在评论中看到您正在使用PhoneGap,猜测您还没有更新到最新版本.

Just seen in the comments you're using PhoneGap, guessing you haven't updated to the latest version.

确保您使用来自 http://phonegap.com/download/(2013 年 4 月 30 日发布)

Make sure your using the latest version (2.7.0) from http://phonegap.com/download/ (Released 30 Apr 2013)