ios 生成问题

时间:2020-12-27 18:27:39

上午的时候遇到ios打包的时候出现问题,生成没有问题,但是安装到手机的时候出现问题,错误如下

The certificate used to sign “AppName” has either expired or has been revoked. An updated certificate is required to sign and install the application

解决方法参考

http://*.com/questions/36689116/certificate-has-either-expired-or-has-been-revoked

Md.Riduanul Islam回答部分

如果还是不行的话需要如下操作

1.打开xcode

2.选择左上方 xcode➡️ preferences➡️ 选择team➡️ show detailes➡️ 选中provisioning Profiles内的任意一选项➡️ 右键 show finder➡️然后再打开的文件夹内删除所有选项,然后重新生成即可