xcode报错无法安装The identity used to sign the executable is no longer valid.无法安装此App,因为无法验证其完整性

无法安装此App,因为无法验证其完整性。 Failed to verify code signature of /var/db/appinstalld/Library/Caches/com.apple.mobile.installd.staging/temp.PpeMFj/extracted/SwiftBook.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

问题原因

1.应该是你的账户的开发者验证失败或者证书过期了,

2.或者是Bundle id和别人的重复了

解决办法

1.清理过期的证书

打开Xcode,进入 "Preferences" -> "Accounts"。

选择你的Apple ID并点击 "Manage Certificates"。

确保所有证书都是有效的。如果任何证书过期或无效,请点击右键选择 "Reset" 或 "Download All Profiles" 来重新获取。

选中过期的证书,然后右键:delete掉,只留下一个可以用的,再重新运行。如果没有可以用的,就全都删掉,重新运行。

2.换一个Bundle Id就该就可以了,然后重新运行,会让你输入密码,重新访问生成一个钥匙串就好了:

详细报错:

无法安装"hado.com.swift.hong.shu.SwiftBook"

Domain: IDEInstallLocalMacService

Code: 14

Failure Reason: 无法安装此App,因为无法验证其完整性。

Recovery Suggestion: Failed to verify code signature of /var/db/appinstalld/Library/Caches/com.apple.mobile.installd.staging/temp.IOGOa3/extracted/SwiftBook.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

User Info: {

DVTErrorCreationDateKey = "2024-07-11 12:54:26 +0000";

IDERunOperationFailingWorker = IDEInstallLocalMacWorker;

}

--

无法安装"hado.com.swift.hong.shu.SwiftBook"

Domain: IDEInstallLocalMacService

Code: 14

Failure Reason: 无法安装此App,因为无法验证其完整性。

Recovery Suggestion: Failed to verify code signature of /var/db/appinstalld/Library/Caches/com.apple.mobile.installd.staging/temp.IOGOa3/extracted/SwiftBook.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

User Info: {

IDERunOperationFailingWorker = IDEInstallLocalMacWorker;

}

--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {

"device_model" = "Mac15,12";

"device_osBuild" = "14.3 (23D2057)";

"device_platform" = "com.apple.platform.macosx";

"dvt_coredevice_version" = "355.28";

"dvt_mobiledevice_version" = "1643.100.60";

"launchSession_schemeCommand" = Run;

"launchSession_state" = 1;

"launchSession_targetArch" = arm64;

"operation_duration_ms" = 189;

"operation_errorCode" = 14;

"operation_errorDomain" = IDEInstallLocalMacService;

"operation_errorWorker" = IDEInstallLocalMacWorker;

"operation_name" = IDERunOperationWorkerGroup;

"param_debugger_attachToExtensions" = 0;

"param_debugger_attachToXPC" = 1;

"param_debugger_type" = 3;

"param_destination_isProxy" = 0;

"param_destination_platform" = "com.apple.platform.macosx";

"param_diag_MainThreadChecker_stopOnIssue" = 0;

"param_diag_MallocStackLogging_enableDuringAttach" = 0;

"param_diag_MallocStackLogging_enableForXPC" = 1;

"param_diag_allowLocationSimulation" = 1;

"param_diag_checker_tpc_enable" = 1;

"param_diag_gpu_frameCapture_enable" = 0;

"param_diag_gpu_shaderValidation_enable" = 0;

"param_diag_gpu_validation_enable" = 0;

"param_diag_memoryGraphOnResourceException" = 0;

"param_diag_queueDebugging_enable" = 1;

"param_diag_runtimeProfile_generate" = 0;

"param_diag_sanitizer_asan_enable" = 0;

"param_diag_sanitizer_tsan_enable" = 0;

"param_diag_sanitizer_tsan_stopOnIssue" = 0;

"param_diag_sanitizer_ubsan_stopOnIssue" = 0;

"param_diag_showNonLocalizedStrings" = 0;

"param_diag_viewDebugging_enabled" = 1;

"param_diag_viewDebugging_insertDylibOnLaunch" = 1;

"param_install_style" = 0;

"param_launcher_UID" = 2;

"param_launcher_allowDeviceSensorReplayData" = 0;

"param_launcher_kind" = 0;

"param_launcher_style" = 99;

"param_launcher_substyle" = 8192;

"param_runnable_appExtensionHostRunMode" = 0;

"param_runnable_productType" = "com.apple.product-type.application";

"param_structuredConsoleMode" = 1;

"param_testing_launchedForTesting" = 0;

"param_testing_suppressSimulatorApp" = 0;

"param_testing_usingCLI" = 0;

"sdk_canonicalName" = "iphoneos17.5";

"sdk_osVersion" = "17.5";

"sdk_variant" = iphoneos;

相关推荐
随云6322 分钟前
WebGL编程指南之着色器语言GLSL ES(入门GLSL ES这篇就够了)
前端·webgl
寻找09之夏1 小时前
【Vue3实战】:用导航守卫拦截未保存的编辑,提升用户体验
前端·vue.js
多多米10052 小时前
初学Vue(2)
前端·javascript·vue.js
柏箱2 小时前
PHP基本语法总结
开发语言·前端·html·php
新缸中之脑2 小时前
Llama 3.2 安卓手机安装教程
前端·人工智能·算法
hmz8562 小时前
最新网课搜题答案查询小程序源码/题库多接口微信小程序源码+自带流量主
前端·微信小程序·小程序
看到请催我学习2 小时前
内存缓存和硬盘缓存
开发语言·前端·javascript·vue.js·缓存·ecmascript
blaizeer3 小时前
深入理解 CSS 浮动(Float):详尽指南
前端·css
编程老船长3 小时前
网页设计基础 第一讲:软件分类介绍、工具选择与课程概览
前端
编程老船长3 小时前
网页设计基础 第二讲:安装与配置 VSCode 开发工具,创建第一个 HTML 页面
前端