应用程序不允许访问UDID切不可用的UIDevice的唯一标识符的方法 [英] Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice

查看:172
本文介绍了应用程序不允许访问UDID切不可用的UIDevice的唯一标识符的方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请你帮我解决这个下面提到的问题从Apps商店获得


  

应用程序不允许访问UDID,不得使用
  的UIDevice的唯一标识符的方法。请更新您的应用程序和
  服务器与卖方或广告标识用户关联
  在IOS 6中引入如果在源$ C ​​$ C方法名匹配
  私人苹果的API上面列出,改变你的方法的名字会帮助
  prevent这个程序被标记在今后提交。在
  此外,请注意,在上述API中的一个或多个可以位于一个
  所包含的您的应用程序的静态库。如果是这样,他们必须
  删除。


  
  

如果您认为此消息是错误的,并发送你只有
  按照指南使用苹果发布的API,发送
  应用程序的九位数的Apple ID,以为什么的详细信息一起
  您认为上述API被错误地标记,以
  ap$p$pview@apple.com。欲了解更多信息,请访问技术
  支持信息页面。


  
  

一旦这些问题已得到纠正,去版本细节页面
  然后点击准备上传二进制。通过提交继续
  过程,直到应用程序状态为等待上传。然后,您可以
  提供修正的二进制文件。



解决方案

查找使用 UDID 类按

(在项目目录端子)

 找到。 | grep的-v的.svn | grep的\\ .A| grep的-v\\的.app| xargs的grep的唯一标识符

你会发现使用类UDID ,然后替换它并使用 UUID 或如果您使用外部类由新的类取代它

Will you please help me to fix this below mentioned issue getting from Apps store

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.

If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's nine-digit Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information page.

Once these issues have been corrected, go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.

解决方案

Find the class that use the UDID by

(by terminal in the project directory)

find . | grep -v .svn  | grep "\.a" | grep -v "\.app" | xargs grep uniqueIdentifier

you find the classes that use UDID then replace it and use UUID or replace it by new class if you are using external classes

这篇关于应用程序不允许访问UDID切不可用的UIDevice的唯一标识符的方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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