Invalid Application Binary [closed]

我的梦境 提交于 2019-12-01 11:28:04

You should remove any usage of UDIDs. Apple started rejecting apps using this as of May 1, 2013.

Using Identifiers in Your Apps

Starting May 1, the App Store will no longer accept new apps or app updates that access UDIDs. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. You can find more details in the UIDevice Class Reference.

Source: https://developer.apple.com/news/

Although I've not independently confirmed it, I believe this is what you should use:

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

According to New Review Guideline by Apple, Its not permitted or Banned to use UDID of your Device for any kind of Identification or any other purpose in your Application. Apple found after a long time that UDID is also used to crack some of the Data hack of users and variety of other hacks, as they realize it immediately they Restricted the use of UDID in any of the applications.

So i advice you to remove any snipped or code from your application which used UDID, search following line of code in your application

[[UIDevice currentDevice] uniqueIdentifier]

if you find it, just replace it with other unique identifier or some other business logic and create a fresh binary with that and upload it. it will be through the review process.

you can find more news and updates of IOS apps here and about usage of UDID here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!