您的位置:首页 > 移动开发 > IOS开发

ios项目不能再用UDID了

2013-06-26 09:54 197 查看
今天更新项目时,出现

Apps are note permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice.

如下图:


利用下面命令搜索项目,原来真是百度地图的问题。

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

如果出现:

-bash: find: command not found
-bash: xargs: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: grep: command not found

先运行如下语句:

export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

在从新运行上面命令。

报了百度地图的问题,如下图:



马上下载最新sdk替换。结果替换后出了一堆问题。原来新的百度sdk需要多添加OpenGLES.framework。

从新打包验证。。。通过

PS:全文查找uniqueIdentifier时,发现支付宝的签名验证有定义这个,可能换掉了。没有影响!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: