App signing fails after account upgrade

New to working with xcode and building apps. I started last weekend, and deploying to my usb connected iPhone 16 was working great all week. Yesterday, I upgraded to a paid developer account to start using TestFlight, and I could no longer deploy to my phone.

Failed to install embedded profile for com.spred.spred-alpha : 0xe800801a (This provisioning profile does not have a valid signature (or it has a valid, but untrusted signature).)

i using automatic provisioning - not a custom provisioning profile.

i have tried:

  • deleting all the certificates in keychain for my developer account and recreating them, and also doing the same in the developer portal.
  • logging out and logging back in with my developer id in xcode
  • deleting the app bundle directory and all other associated files in the Xcode/DerivedData directory
  • reinstalling Xcode
  • cleaning my build directory and trying again.
  • changing the bundle identifier to a new name. (It always matches the portal app name)

Among other things. It just won’t work. I can run the app inn a simulator, but not get it deployed to my phone.

what else can I do? The only things I can think of are that somehow Xcode is still stuck using the free account somehow, or that the free account cert originally used expired after 7 days, and now I’m in some stuck state.

Answered by DTS Engineer in 858490022

There was a glitch in the provisioning profile matrix at the start of the week, and I think you might’ve managed to hit the relatively small window when it was causing problems. On this thread I have some info on how you can check that, and others have posted various ways to clear the cached info that’s causing the problem.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I'm having the same issue. Appears on https://www.apple.com/support/systemstatus/ that App Store reports as degraded. I assume this may be the cause.

I am having the EXACT same issue. Before my upgrade yesterday I was able to deploy to my physical device but now I get the exact same error.

I actually posted on the r/Xcode subreddit before I saw your post to see if anyone there can help. I've tried many of the same things but no avail.

I even made a fresh app and it' continues to happen. My hunch is that Xcode is using the old certificate somehow and not grabbing the valid one. If you find a solution please let me know and I'll be sure to do the same

I'd encourage you all to email Apple support. I did.

I made two fresh apps, tried to Macs, two iOS device all with the same results.

There was a glitch in the provisioning profile matrix at the start of the week, and I think you might’ve managed to hit the relatively small window when it was causing problems. On this thread I have some info on how you can check that, and others have posted various ways to clear the cached info that’s causing the problem.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App signing fails after account upgrade
 
 
Q