Error MT1006: Could not install the application The identity used to sign the executable is no longer valid.

Kim Strasser 1,551 Reputation points
2025-10-29T12:32:50.7366667+00:00

I get this error in Visual Studio Community 2022 (64-bit) Version 17.14.19 when I debug my iOS project on my iPad Air:

error MT1006: Could not install the application '/Users/kimstrasser/Library/Caches/Xamarin/mtbs/builds/ProjectiOS/32f79b8f682b34723c1c51ad8d136c490105a1a152109fdef3a3729d3eaaa0b7/bin/Debug/net9.0-ios/ios-arm64/ProjectiOS.app' on the device 'iPad von Kim': One or more errors occurred. (Failed to execute 'devicectl': 'devicectl -j /var/folders/5c/b_5b2y1n7c129rl8611_7_hh0000gn/T/tmpCKgF5W.tmp device install app --device "iPad von Kim" /Users/kimstrasser/Library/Caches/Xamarin/mtbs/builds/ProjectiOS/32f79b8f682b34723c1c51ad8d136c490105a1a152109fdef3a3729d3eaaa0b7/bin/Debug/net9.0-ios/ios-arm64/ProjectiOS.app' returned the exit code 1.) (Additional output: xcrun devicectl -j /var/folders/5c/b_5b2y1n7c129rl8611_7_hh0000gn/T/tmpCKgF5W.tmp device install app --device "iPad von Kim" /Users/kimstrasser/Library/Caches/Xamarin/mtbs/builds/ProjectiOS/32f79b8f682b34723c1c51ad8d136c490105a1a152109fdef3a3729d3eaaa0b7/bin/Debug/net9.0-ios/ios-arm64/ProjectiOS.app) (Additional output: ERROR: Failed to install the app on the device. (com.apple.dt.CoreDeviceError error 3002 (0xBBA))) (Additional output: NSURL = file:///Users/kimstrasser/Library/Caches/Xamarin/mtbs/builds/ProjectiOS/32f79b8f682b34723c1c51ad8d136c490105a1a152109fdef3a3729d3eaaa0b7/bin/Debug/net9.0-ios/ios-arm64/ProjectiOS.app/) (Additional output: ----------------------------------------) (Additional output: NSLocalizedRecoverySuggestion = Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.CRoKWe/extracted/ProjectiOS.app : 0xe8008018 (The identity used to sign the executable is no longer valid.)) (Additional output: ----------------------------------------) (Additional output: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.CRoKWe/extracted/ProjectiOS.app : 0xe8008018 (The identity used to sign the executable is no longer valid.) (MIInstallerErrorDomain error 13 (0x0D))) (Additional output: SourceFileLine = 80) (Additional output: LegacyErrorString = ApplicationVerificationFailed) (Additional output: LibMISErrorNumber = -402620392) (Additional output: FunctionName = +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]) (Additional output: 12:51:52 Acquired tunnel connection to device.) (Additional output: 12:51:52 Enabling developer disk image services.) (Additional output: 12:51:52 Acquired usage assertion.).

A few weeks ago I didn´t get this error when I clicked on debugging in VS. I have already tried to import my Development p12 certificate in Visual Studio, but the certificate is not displayed in Tools-->Options-->Xamarin-->Apple Accounts-->View Details-->Certificates.

I renewed my Apple developer membership in the last weeks and after that I added a new iPad Air to my Apple developer account and I edited the development profile of my application in developer.apple.com. I have not changed my certificates in developer.apple.com, but the certificates(Development and Distribution) will expire in less than a month.

How can I solve this problem?

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Answer accepted by question author
  1. Tony Dinh (WICLOUD CORPORATION) 4,000 Reputation points Microsoft External Staff
    2025-10-30T03:44:16.8666667+00:00

    Hello @Kim Strasser !

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

    Your app bundle was signed with a certificate or provisioning profile that your iPad no longer accepts. Since you recently renewed your Apple Developer membership and added a new device, your old signing setup is now out of sync. Here are the steps to fix that you can try:


    Refresh Certificates and Profiles

    • Go to Apple Developer Certificates, Identifiers & Profiles.
    • Check your iOS Development certificate:
      • If it’s expiring soon, revoke it and create a new one.
      • Download the new .cer and install it in your Mac’s Keychain.
    • Recreate or update your Provisioning Profile:
      • Make sure your new iPad Air is included in the profile’s device list.
      • Download the updated .mobileprovision file.

    Sync with Visual Studio

    • In Visual Studio for Mac/Windows:
      • Go to Tools → Options → Xamarin → Apple Accounts.
      • Select your Apple ID → View Details.
      • Click Refresh to pull the latest certificates and profiles.
      • If your new certificate doesn’t appear, import it manually from Keychain (export as .p12 with private key, then import into VS).

    Clean and Rebuild

    • Delete the app from your iPad.
    • In your project folder, delete bin/ and obj/ directories.
    • Rebuild the project so it signs with the refreshed identity.

    Verify Signing Settings

    • In your iOS project properties:
      • Under iOS Bundle Signing, ensure:
        • Signing Identity = iOS Developer (new certificate).
        • Provisioning Profile = the updated one with your iPad included.
    • If you use Automatic Provisioning, make sure your Apple ID is signed in and let VS handle it.
    • If you use Manual Provisioning, explicitly select the new profile.

    Visual Studio should be able to deploy again.


    Hope you fix this issue to proceed your work!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.