無法安裝此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;