iTunes应用程序提交无效的二进制问题 [英] iTunes App Submission Invalid binary issues
问题描述
非公开API使用:
应用程式不允许存取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.
b $ b John
Regards John
推荐答案
应用程式不允许存取< ,且不得使用 UIDevice 的 uniqueIdentifier 请更新您的应用和服务器,以便将用户与在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现在阻止访问的
。使用供应商或广告标识符或使用 OpenUDID 。 uniqueIdentifier
属性的任何应用程序, UIDevice
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];
有几个StackOverflow问题可能有帮助:
A few StackOverflow questions which may be of help:
- 广告标识符低于iOS 6.0的装置
- iOS6 UDID - identifierForVendor对identifierForAdvertising有什么好处?
- advertisingIdentifier和identifierForVendor返回00000000-0000-0000-0000-000000000000
- Advertising Identifier for devices lower than iOS 6.0
- iOS6 UDID - What advantages does identifierForVendor have over identifierForAdvertising?
- The advertisingIdentifier and identifierForVendor return "00000000-0000-0000-0000-000000000000"
如果你自己没有使用 uniqueIdentifier
,那么它将是一个SDK库调用它。通常来自广告网络,例如Mobclix,AdMob或Smaato。所有受欢迎的广告网络都更新了删除 uniqueIdentifier
的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.
- Apple have started rejecting UDID access now (PhoneGap)
- Re: [PhoneGap] Uuids in ios 5 (PhoneGap)
请确保您使用的是 http://phonegap.com/download/的最新版本(2.7.0) / (发布日期:2013年04月30日)
Make sure your using the latest version (2.7.0) from http://phonegap.com/download/ (Released 30 Apr 2013)
这篇关于iTunes应用程序提交无效的二进制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!