Unable to install “myapp”

Developing along, no problems - and then suddenly:

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.G47wHn/extracted/Payload/Dvn8.app : 0xe8008001 (An unknown error has occurred.)

Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it.

—> On my Mac, there is no /var/installd directory.

—> On my device, there is no Developer App certificate in Settings -> General -> VPN & Device Management.

I have verified on developer.apple.com under Certificates, Identifiers & Profiles that my device‘s Device ID (UUID) as listed.

I have NO problem building & installing this app to my iPad, nor any problems installing other of my apps to this iPhone - it’s just this app on the phone that’s messed up.

I’ve restarted everything multiple times. I’ve cleared out both /Users/me/Library/Developer/Xcode/DerivedData/ as well as /Users/me/Library/MobileDevice/Provisioning Profiles/

I’ve turned off & back on Settings -> Privacy & Security -> Developer Mode

using macOS Version 14.0 (Build 23A5337a) Xcode 15.0 (22005) (Build 15A5229m)

Please help! I’m 100% blocked from releasing a new version of our app, which is 100% ready to upload!

Same here deleting the app + restarting Xcode worked...

This issue started appearing for us all of a sudden a few days ago when new license agreement had to be accepted. We did accept it and then started seeing the same messages as listed above. This is so infuriating, we've been stuck for 3 days now without being able to install/debug our app and none of the solutions worked.

Can anyone from Apple please talk to us?

The issue is still present. It does not work for me by deleting the app and reinstalling it via Xcode anymore. Updated to iOS 17.3.

EDIT: Again restarting the device and Xcode, and reinstalling the app worked.

I fixed it by removing derived data.

I had to enable "Automatically manage signing", then it worked.

What had worked for me is to unpair a device (Device and Simulators) and deleted the app on a device. After that, build had worked just fine.

Enabling automatically manage signing on xcode is the only thing that worked for me

Same issue in a cordova project [solved]

I was in the same situation until I check the box into Build Phases "Run script: For install builds only" under "Copy www directory" and "Run script: For install builds only" under "[CP] Check Pods Manifest.lock". I hope this could help you to solve it.

Regards,

I have been facing this issue in Xcode 15. Restarting phone, xcode did not help. Then I noticed the 'AppStore' profile was selected for 'Code signing' - Debug mode . Selecting the Development profile solved the issue for me.

Go to App Target -> Signing and capabilities -> uncheck and again check on "automatically manage signing" option.

App Target -> Signing and capabilities -> Debug -> uncheck and recheck Automatically manage signing, this completely figure out my problem.

After spending two evenings on this problem, trying all the above solutions, these steps finally did it for me:

On Mac:

  • Disable "Automatically manage signing" inside xcode.
  • Unpair device from xcode (inside Device manager)
  • Navigate to ~/Library/MobileDevice/Provisioning Profiles/ and i deleted the existing profiles

On phone:

  • Delete the broken app
  • Open up your phone and navigate to Settings -> Developer and then press "clear trusted devices"

On Mac:

  • Open xcode and enable the automatic code signing again
  • Pair device again
  • Voila.

I hope this might help someone <3

My issue for that was post build actions (doing some useful things) and make changes inside *.app folder just before running on device. Removed that actions, and problem is gone.

I've tried all the advice above and none of it works. In the current version, I am not able to install any program on new devices. I still end up with the same error message:

Recovery Suggestion: Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it.

However, I don't see any certificate to confirm in the menu: General -> VPN & Device Management.

There was no problem with this before. It works fine on previously paired devices. Even if I create a very simple program (Hello, World.), it doesn't work on new devices.

By my side, same thing, unparing the phone from Xcode & clean build from product menu & rebuilt / repair worked.

Unable to install “myapp”
 
 
Q