zoukankan      html  css  js  c++  java
  • ios项目不能再用UDID了

    今天更新项目时,出现

    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时,发现支付宝的签名验证有定义这个,可能换掉了。没有影响!

  • 相关阅读:
    里氏代换原则
    依赖倒转原则
    开放-封闭原则
    如何判断对象是否死亡和类是无用的类
    Java内存区域
    Zookeeper使用场景
    zookeeper知识点总结
    前端小技术总结
    lambda表达式的使用
    Comparator进行List集合排序
  • 原文地址:https://www.cnblogs.com/superchao8/p/3156042.html
Copyright © 2011-2022 走看看