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!

We're experiencing the same issue with the release candidate. Seems that Xcode 15 is not able to install our dev certificate to the device.

So there is no way of actually trusting it.

Edit:

Not quite show how I fixed it. But by some combination of deleting derived data, restarting my phone, and reinstalling Xcode 15 release candidate it now work.

Same here with the full release of XCode 15.0, this was never an issue until I started using XCode 15 with an iPhone 15 on iOS 17, see screenshot. Here's the error message:

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.nnIllB/extracted/Audacy.app/Frameworks/RadarSDK.framework : 0xe8008015 (A valid provisioning profile for this executable was not found.) 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.

Had to remove the app completly from the device -> "Touch and hold the app icon on the Home Screen, ... tap Delete App".

11

This issue is bugging me from time to time. Had to delete the app more than 10 times. Anyone knows how to fix it permanently?

I have absolutely no idea, but at some point (for my production app) it began working again. And now today (on an apple documentation sample app), it’s back. No idea what previously made my production app work - just tried one more build and it magically worked.

This is incredibly frustrating, as last time when this occurred, I lost several days of productivity.

Today, I’m trying to build the app from

developer.apple.com/documentation/avfaudio/audio_engine/audio_units/creating_a_custom_speech_synthesizer

and the same error occurs again.

Today, I’ve tried building with GA Xcode 15.0 (15A2240d) plus with Xcode 15.1 beta (15C5028h).

As before, other apps can be built & installed to my iPhone using either version of XCode - but this one app cannot be installed on my iPhone.

And also as before, I’ve deleted the app and restarted everything multiple times. I’ve cleared out both /Users/me/Library/Developer/Xcode/DerivedData/ as well as /Users/me/Library/MobileDevice/Provisioning Profiles/.

Nothing works.

I suspect that the error message is a red herring, but as a result I’ve no path forward.

After a third attempt it worked for me -- I didn't do anything, didn't delete the app, didn't restart Xcode, but it just started working. Xcode magic we'll call it!

Same issue here, but we're getting this error only for our app extension

Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.RTMSkO/extracted/Payload/AppName.app/PlugIns/AppName Share.appex : 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.

Just rebuilding the app works to alleviate the issue, however the next time running will give the error again. So every other run it happens. Oh and no developer app certificate is available at the suggested location in the error.

i deleted the app completely from the iPhone and. reinstalled it.. That was the last thing I did after hours..... and this worked for me.....

I've the same issue : 0xe8008015 (A valid provisioning profile for this executable was not found.) deleted the app, restarder the ipad, updated it that 17.1.2, updated my mac , xcode, nothing is working, please fix it apple

Been having the same issue for a while with ios 17.1.2 and XCode 15 (tried beta too). It's heavily stunting our development.

I have the same problem, and no matter how many times I restart, it doesn't work. I'm running out of ideas

Anybody found a solution for this issue? After updating Xcode to 15.1 we are getting the same problem

I spent 2 days on this problem. After running xcode's Product -> Clean build forder, the certificate appeared in General -> VPN & Device Management on my iPhone. The problem occurred in iOS 17.2.1 version and was resolved. I hope my method helps you guys

I have exactly the same type of problem. Using xCode Version 15.1 (15C65). iPhone 15Pro running IOS 17.2.1. I used xCode to copy profile to phone but see only a VPN icon (not connected) and "Sign in to Work or School Account" under VPN & Device Management. Consequently xCode downloads the App but it won't run. Extremely annoyed at waste of time. What is Apple doing about this????? And now I get repeatedly "Your post couldn’t be saved. Please try again in a few minutes.". ***!!!

I was just dealing with this, in my case the issue was that my device was never registered in my developer account. I use the device for my day job, and it was registered to that account, but not on my personal one.

On top of that, I had some pending PLAs to accept.

I noticed all this when I changed from manual to automatic managed signing in Xcode. Once I set it to automatic, accepted the PLAs, and registered the device, I could run my app on my device with no issue.

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.

Unable to install “myapp”
 
 
Q