真迹调试小错误

来源:互联网 发布:mac图片怎么保存 编辑:程序博客网 时间:2024/05/17 04:47

Issue:The identity used to sign the executable is no longer valid.


Neither restarting Xcode nor restarting my Mac helped.

Solution within Xcode:

  1. In Xcode, go to Preferences --> Accounts --> View Details
  2. Press the + symbol and select iOS Development
  3. Press the refresh button in the lower left corner (called Download all in Xcode 7)

PS:

  • Sometimes it may also help to delete invalid provisioning profiles: right-click -> move to trash
  • I saw this error exactly one year after signing up as an Apple developer.

后来又遇到一次这个错误,上述方法无效。但是把xcode里的ID改一下就可以了,但是上传到testflight后还是不行。

出现了报错,说证书错误。无奈回去member center把所有的证书起底,最后发现一个development provision根本就没有,重新创建,下载到mac,成功了。

0 0