Xcode运行报错The certificate used to sign “XXX” has either expired or has been revoked.解决办法

简介: Xcode运行报错The certificate used to sign “XXX” has either expired or has been revoked.解决办法

Xcode运行之后报了如下错误:


1684473638665.png


Unable to install "XXX"

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


翻译:


无法安装“XXX”

用于签署“XXX”的证书已过期或已被吊销。签署和安装应用程序需要更新的证书。

报错原因:

你的证书被删除了,所以需要重新下载一下


解决办法:


1.打开文件夹~/Library/MobileDevice/Provisioning Profiles,清空目录中的文件

2.重新运行项目,如果还报错取消勾选证书后再重新勾选运行

目录
相关文章
|
4月前
|
iOS开发 MacOS Perl
解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
153 4
|
4月前
|
iOS开发 Perl
解决Xcode15报错:DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
解决Xcode15报错:DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS
177 1
|
4月前
|
iOS开发 Perl
解决Xcode报错Stored properties cannot be marked unavailable with ‘@available‘
解决Xcode报错Stored properties cannot be marked unavailable with ‘@available‘
49 0
|
7月前
|
iOS开发
Xcode报错“compact unwind compressed function offset doesn‘t fit in 24 bits
Xcode报错“compact unwind compressed function offset doesn‘t fit in 24 bits
65 1
|
7月前
|
iOS开发
Xcode 10遇到的证书问题 is automatically signed, but provisioning profile YYYY has been manually specified
Xcode 10遇到的证书问题 is automatically signed, but provisioning profile YYYY has been manually specified
56 0
|
iOS开发
Xcode运行报错Failed to prepare device for development.解决办法
Xcode运行报错Failed to prepare device for development.解决办法
670 0
|
7月前
|
jenkins Unix 持续交付
个人记录jenkins编译ios过程 xcode是9.4.1
个人记录jenkins编译ios过程 xcode是9.4.1
102 2
|
7月前
|
Linux 数据安全/隐私保护 iOS开发
如何使用 Xcode 打包导出 IPA 文件并进行 iOS 应用内测,无需支付苹果开发者账号费用?
如何使用 Xcode 打包导出 IPA 文件并进行 iOS 应用内测,无需支付苹果开发者账号费用?
|
4月前
|
iOS开发 开发者
解决xcode doesn‘t support iphone’s ios 14.6 (18f72)
解决xcode doesn‘t support iphone’s ios 14.6 (18f72)
276 3
|
4月前
|
iOS开发
mac不通过Xcode直接打开IOS模拟器
mac不通过Xcode直接打开IOS模拟器
238 2