今天更新项目时,出现

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

如下图:ios项目不能再用UDID了

 

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

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

在从新运行上面命令。

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

ios项目不能再用UDID了

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

从新打包验证。。。通过

PS:全文查找uniqueIdentifier时,发现支付宝的签名验证有定义这个,可能换掉了。没有影响!

相关文章:

  • 2021-04-20
  • 2021-12-15
  • 2021-07-22
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-06-15
猜你喜欢
  • 2021-08-31
  • 2021-07-03
  • 2022-12-23
  • 2021-08-30
  • 2021-10-28
  • 2021-11-29
  • 2021-04-10
相关资源
相似解决方案