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

  • 相关阅读:
    VS Code 调试报错
    Nginx反向代理设置
    Nginx 的配置文件
    Nginx 的常用的命令
    CentOS7安装Nginx
    Docker配置
    Centos7 安装MySQL 5.7
    限制Redis使用的最大内存
    C#操作Redis
    Font Awesome 字体图标
  • 原文地址:https://www.cnblogs.com/superchao8/p/3156042.html
Copyright © 2011-2022 走看看