本文介绍了iTunes应用程序提交无效的二进制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 非公开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 JohnRegardsJohn推荐答案这是您的答案。 来源 Apple现在阻止访问的 uniqueIdentifier 属性的任何应用程序, UIDevice 。使用供应商或广告标识符或使用 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];有几个StackOverflow问题可能有帮助:A few StackOverflow questions which may be of help: 广告标识符低于iOS 6.0的装置 iOS6 UDID - identifierForVendor对identifierForAdvertising有什么好处? advertisingIdentifier和identifierForVendor返回00000000-0000-0000-0000-000000000000Advertising Identifier for devices lower than iOS 6.0iOS6 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. 苹果已开始拒绝UDID访问(PhoneGap) Re:[PhoneGap] ios 5中的Uuids(PhoneGap)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应用程序提交无效的二进制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!