zoukankan      html  css  js  c++  java
  • Command /usr/bin/codesign failed with exit code 1

    刚刚碰到相同的问题,自己解决了,很简单,profile冲突,(自己遇到的现象是之前的profile关联的certificate过期,然后重新生成 了certificate和更新了profile。但是是同一个profile,导致设置的时候还是识别的之前的profile,和新的 certificate不匹配导致的)查看Xcode下当前用的profile名字,如图



    去到目录 Users ▸ username ▸ Library▸ MobileDevice ▸ Provisioning Profiles


    找到改文件并删除,重新编译运行即可成功。

    删除后可以看到原来工程中显示的profile名称都变成了上面的类似的字符串,说明在本地已经不存在了。然后再重新设置上名字一样的新的profile就可以了。

  • 相关阅读:
    几数之和的题目
    File类
    递归
    Collections
    Map集合
    泛型
    类型通配符
    可变参数
    异常
    Collection集合
  • 原文地址:https://www.cnblogs.com/lisa090818/p/4828085.html
Copyright © 2011-2022 走看看