The identity used to sign the executable is no longer valid

Hi there,

When I deploy my app to the iPhone for testing, I get the following error:

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.4gpZFc/extracted/c_mll.app : 0xe8008018 (The identity used to sign the 

Please ensure that the certificates used to sign your app have not expired. If this issue persists, please attach an IPA of your app when sending a report to Apple.
executable is no longer valid.)

My account was mistakenly deactivated by Apple last month. After appealing, Apple restored it at the end of last month. Currently, my Apple Developer account seems to be working fine.

Today, I recreated the developer certificate and identifier, added the account in XCode, everything seemed fine, and I clicked the XCode button (Start the active scheme). The build was successful, but I got the error:

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.4gpZFc/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

Both my certificate and identifier were created just a few hours ago and show no issues.

Before my account was deactivated, everything was working fine.

I used a regular non-Apple developer account in XCode and performed the same steps, and it worked fine.

I looked at relevant posts on the forum and tried the suggestions, but none of them solved my problem.

Can't install “Find Molly” Domain: IXUserPresentableErrorDomain Code: 14 Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.pfQFc0/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

Please ensure that the certificates used to sign your app have not expired. If this issue persists, please attach an IPA of your app when sending a report to Apple. User Info: { DVTErrorCreationDateKey = "2025-04-10 04:46:57 +0000"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; }

Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { NSURL = "file:///Users/ltf/Library/Developer/Xcode/DerivedData/c_mll-aapwumnfcikaqlfoaibbtlldjchq/Build/Products/Debug-iphoneos/c_mll.app"; }

无法安装“Find Molly” Domain: IXUserPresentableErrorDomain Code: 14 Failure Reason: 无法安装此App,因为无法验证其完整性。 Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.pfQFc0/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.pfQFc0/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.) Domain: MIInstallerErrorDomain Code: 13 User Info: { FunctionName = "+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]"; LegacyErrorString = ApplicationVerificationFailed; LibMISErrorNumber = "-402620392"; SourceFileLine = 79; }

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_identifier" = "00008120-001E51C011F9A01E"; "device_isCoreDevice" = 1; "device_model" = "iPhone15,5"; "device_osBuild" = "18.3.2 (22D82)"; "device_platform" = "com.apple.platform.iphoneos"; "device_thinningType" = "iPhone15,5"; "dvt_coredevice_version" = "397.30"; "dvt_coresimulator_version" = "993.9"; "dvt_mobiledevice_version" = "1784.101.1"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 1627; "operation_errorCode" = 14; "operation_errorDomain" = IXUserPresentableErrorDomain; "operation_errorWorker" = IDEInstallCoreDeviceWorker; "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.iphoneos"; "param_diag_113575882_enable" = 0; "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" = 1; "param_diag_guardMalloc_enable" = 0; "param_diag_memoryGraphOnResourceException" = 0; "param_diag_mtc_enable" = 1; "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_enable" = 0; "param_diag_sanitizer_ubsan_stopOnIssue" = 0; "param_diag_showNonLocalizedStrings" = 0; "param_diag_viewDebugging_enabled" = 1; "param_diag_viewDebugging_insertDylibOnLaunch" = 1; "param_install_style" = 2; "param_launcher_UID" = 2; "param_launcher_allowDeviceSensorReplayData" = 0; "param_launcher_kind" = 0; "param_launcher_style" = 99; "param_launcher_substyle" = 0; "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" = "iphoneos18.2"; "sdk_osVersion" = "18.2"; "sdk_variant" = iphoneos; }

System Information

macOS Version 15.4 (Build 24E248) Xcode 16.2 (23507) (Build 16C5032a) Timestamp: 2025-04-10T12:46:57+08:00

无法安装“Find Molly”
Domain: IXUserPresentableErrorDomain
Code: 14
Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.pfQFc0/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

Please ensure that the certificates used to sign your app have not expired. If this issue persists, please attach an IPA of your app when sending a report to Apple.
User Info: {
    DVTErrorCreationDateKey = "2025-04-10 04:46:57 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
    NSURL = "file:///Users/ltf/Library/Developer/Xcode/DerivedData/c_mll-aapwumnfcikaqlfoaibbtlldjchq/Build/Products/Debug-iphoneos/c_mll.app";
}
--
无法安装“Find Molly”
Domain: IXUserPresentableErrorDomain
Code: 14
Failure Reason: 无法安装此App,因为无法验证其完整性。
Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.pfQFc0/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)
--
Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.pfQFc0/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)
Domain: MIInstallerErrorDomain
Code: 13
User Info: {
    FunctionName = "+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]";
    LegacyErrorString = ApplicationVerificationFailed;
    LibMISErrorNumber = "-402620392";
    SourceFileLine = 79;
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_identifier" = "00008120-001E51C011F9A01E";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone15,5";
    "device_osBuild" = "18.3.2 (22D82)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone15,5";
    "dvt_coredevice_version" = "397.30";
    "dvt_coresimulator_version" = "993.9";
    "dvt_mobiledevice_version" = "1784.101.1";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 1627;
    "operation_errorCode" = 14;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "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.iphoneos";
    "param_diag_113575882_enable" = 0;
    "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" = 1;
    "param_diag_guardMalloc_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_mtc_enable" = 1;
    "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_enable" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 2;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 0;
    "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" = "iphoneos18.2";
    "sdk_osVersion" = "18.2";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 15.4 (Build 24E248)
Xcode 16.2 (23507) (Build 16C5032a)
Timestamp: 2025-04-10T12:46:57+08:00

Run in the shell:

 xcrun devicectl device info details --device 57B4BE1A-CC8F-48F9-9599-E53BA90C453F

Then, I got the following info:

Gathering device information...
Current device information:
• identifier: 57B4BE1A-CC8F-48F9-9599-E53BA90C453F
• tags: 
▿ hardwareProperties:
    • cpuType: arm64e (type: 16777228, subtype: 2)
    • deviceType: iPhone
    • ecid: 8534134678462494
    • hardwareModel: D38AP
    • internalStorageCapacity: 128000000000
    • isProductionFused: true
    • marketingName: iPhone 15 Plus
    • platform: iOS
    • productType: iPhone15,5
    • reality: physical
    • serialNumber: M7YY942JXG
    ▿ supportedCPUTypes:
        • arm64e (type: 16777228, subtype: 2)
        • arm64 (type: 16777228, subtype: 0)
        • arm64 (type: 16777228, subtype: 1)
        • arm64_32 (type: 33554444, subtype: 1)
    • supportedDeviceFamilies: [1]
    • thinningProductType: iPhone15,5
    • udid: 00008120-001E51C011F9A01E
▿ deviceProperties:
    • bootState: booted
    • ddiServicesAvailable: true
    • developerModeStatus: enabled
    • hasInternalOSBuild: false
    • name: ltf_ip
    • osBuildUpdate: 22D82
    • osVersionNumber: 18.3.2
    • rootFileSystemIsWritable: false
    • screenViewingURL: devices://device/open?id=57B4BE1A-CC8F-48F9-9599-E53BA90C453F
    • bootedFromSnapshot: true
    • bootedSnapshotName: com.apple.os.update-AA0193C25FAD885EBDFFFFA30D791F7EC7490DEB43F7DF5CC8DAED998D6189EF
▿ connectionProperties:
    • authenticationType: manualPairing
    • isMobileDeviceOnly: false
    • lastConnectionDate: 2025-04-10 04:27:06 +0000
    ▿ localHostnames:
        • ltf-ip.coredevice.local: ltf-ip.coredevice.local
        • 00008120-001E51C011F9A01E.coredevice.local: 00008120-001E51C011F9A01E.coredevice.local
        • 57B4BE1A-CC8F-48F9-9599-E53BA90C453F.coredevice.local: 57B4BE1A-CC8F-48F9-9599-E53BA90C453F.coredevice.local
    ▿ potentialHostnames:
        • 00008120-001E51C011F9A01E.coredevice.local: 00008120-001E51C011F9A01E.coredevice.local
        • 57B4BE1A-CC8F-48F9-9599-E53BA90C453F.coredevice.local: 57B4BE1A-CC8F-48F9-9599-E53BA90C453F.coredevice.local
    • pairingState: paired
    • transportType: wired
    • tunnelTransportProtocol: tcp
    • tunnelIPAddress: fd0c:bcad:5ad7::1
    • tunnelState: connected
▿ capabilities:
    • Capture Sysdiagnose (com.apple.coredevice.feature.capturesysdiagnose): Capture Sysdiagnose (com.apple.coredevice.feature.capturesysdiagnose)
    • List Roots (com.apple.coredevice.feature.listroots): List Roots (com.apple.coredevice.feature.listroots)
    • Service Hub Profile (com.apple.dt.profile): Service Hub Profile (com.apple.dt.profile)
    • Monitor Process for Termination (com.apple.coredevice.feature.monitorprocesstermination): Monitor Process for Termination (com.apple.coredevice.feature.monitorprocesstermination)
    • Uninstall Application (com.apple.coredevice.feature.uninstallapp): Uninstall Application (com.apple.coredevice.feature.uninstallapp)
    • Fetch Developer Disk Image Services Metadata (com.apple.coredevice.feature.fetchddimetadata): Fetch Developer Disk Image Services Metadata (com.apple.coredevice.feature.fetchddimetadata)
    • Unpair Device (com.apple.coredevice.feature.unpairdevice): Unpair Device (com.apple.coredevice.feature.unpairdevice)
    • Install Application (com.apple.coredevice.feature.installapp): Install Application (com.apple.coredevice.feature.installapp)
    • Install Root (com.apple.coredevice.feature.installroot): Install Root (com.apple.coredevice.feature.installroot)
    • com.apple.dt.remoteFetchSymbols (com.apple.dt.remoteFetchSymbols.dyldSharedCacheFiles): com.apple.dt.remoteFetchSymbols (com.apple.dt.remoteFetchSymbols.dyldSharedCacheFiles)
    • Acquire Usage Assertion (com.apple.coredevice.feature.acquireusageassertion): Acquire Usage Assertion (com.apple.coredevice.feature.acquireusageassertion)
    • Get Lock State (com.apple.coredevice.feature.getlockstate): Get Lock State (com.apple.coredevice.feature.getlockstate)
    • com.apple.security.cryptexd.remote (Cryptex1,UseProductClass): com.apple.security.cryptexd.remote (Cryptex1,UseProductClass)
    • Query MobileGestalt (com.apple.coredevice.feature.querymobilegestalt): Query MobileGestalt (com.apple.coredevice.feature.querymobilegestalt)
    • Fetch Extended Device Info (com.apple.coredevice.feature.getdeviceinfo): Fetch Extended Device Info (com.apple.coredevice.feature.getdeviceinfo)
    • Transfer Files (com.apple.coredevice.feature.transferFiles): Transfer Files (com.apple.coredevice.feature.transferFiles)
    • com.apple.security.cryptexd.remote (Cryptex1): com.apple.security.cryptexd.remote (Cryptex1)
    • com.apple.security.cryptexd.remote (CryptexInstall): com.apple.security.cryptexd.remote (CryptexInstall)
    • Fetch Application Icons (com.apple.coredevice.feature.fetchappicons): Fetch Application Icons (com.apple.coredevice.feature.fetchappicons)
    • Spawn Executable (com.apple.coredevice.feature.spawnexecutable): Spawn Executable (com.apple.coredevice.feature.spawnexecutable)
    • View Device Screen (com.apple.coredevice.feature.viewdevicescreen): View Device Screen (com.apple.coredevice.feature.viewdevicescreen)
    • Send Signal to Process (com.apple.coredevice.feature.sendsignaltoprocess): Send Signal to Process (com.apple.coredevice.feature.sendsignaltoprocess)
    • Launch Application (com.apple.coredevice.feature.launchapplication): Launch Application (com.apple.coredevice.feature.launchapplication)
    • Uninstall Root (com.apple.coredevice.feature.uninstallroot): Uninstall Root (com.apple.coredevice.feature.uninstallroot)
    • List Applications (com.apple.coredevice.feature.listapps): List Applications (com.apple.coredevice.feature.listapps)
    • Send Memory Warning to Process (com.apple.coredevice.feature.sendmemorywarningtoprocess): Send Memory Warning to Process (com.apple.coredevice.feature.sendmemorywarningtoprocess)
    • Reboot Device (com.apple.coredevice.feature.rebootdevice): Reboot Device (com.apple.coredevice.feature.rebootdevice)
    • Disconnect from Device (com.apple.coredevice.feature.disconnectdevice): Disconnect from Device (com.apple.coredevice.feature.disconnectdevice)
    • Disable Developer Disk Image Services (com.apple.coredevice.feature.disableddiservices): Disable Developer Disk Image Services (com.apple.coredevice.feature.disableddiservices)
    • List Processes (com.apple.coredevice.feature.listprocesses): List Processes (com.apple.coredevice.feature.listprocesses)
    • Get Display Information (com.apple.coredevice.feature.getdisplayinfo): Get Display Information (com.apple.coredevice.feature.getdisplayinfo)
    • com.apple.security.cryptexd.remote (ReadIdentifiers): com.apple.security.cryptexd.remote (ReadIdentifiers)
    • com.apple.internal.dt.remote.debugproxy (com.apple.coredevice.feature.debugserverproxy): com.apple.internal.dt.remote.debugproxy (com.apple.coredevice.feature.debugserverproxy)
• visibilityClass: default

Subject: Urgent Follow-Up on Unresolved Code Signing Issue (Case ID: 13121470)

Dear Apple Developer Support Team,

I am writing to formally express my concern and frustration regarding an unresolved issue that has been severely impacting my development work.

Since April 10th, I have been encountering the following error when trying to install my app “Find Molly” using Xcode 16C5032a:

Error 0xe8008018: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.vNomEg/extracted/c_mll.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)

To resolve this, I submitted a bug report via Apple’s Feedback Assistant (FB17192041 and FB17182244) and followed up with a Code-Level Support request on April 13th (Case ID: 13121470). As instructed, I promptly provided all requested diagnostic and supplementary information through both Developer Support and Feedback Assistant.

However, as of today, over a month later, the issue remains unresolved. More concerningly, I have sent two follow-up emails in the past week, and received no response.

This delay and lack of communication have caused significant disruption to my development timeline. I respectfully request: 1. A status update on the resolution of Case ID: 13121470, 2. Confirmation that my submitted information has been reviewed, 3. An estimated timeframe for resolution or next steps.

I appreciate your urgent attention to this matter and look forward to a timely response.

Best regards, Tony

The identity used to sign the executable is no longer valid
 
 
Q