No profiles for 'xxx.xxx.xxx.xxx' were found

We've been creating iOS apps for a few years now, but when I tried last month, I got an error in my XCode that says:

No profiles for 'com.os.hub.mth2' were found Xcode couldn't find any iOS App Development provisioning profiles matching 'xxx.xxx.xxx.xxx'.

I'm not sure if it's the cause or not, but when I look at the signing certificates, the Developer ID Application Certificate says:

Missing Private Key

The weird part of that is that I see a private key with this name in my Keychain access, so I'm not sure what's wrong.

There has been a significant time gap between now and the last time we created a mobile app, so I'm not sure if something changed in XCode/MacOS to cause this issue, or if something expired.

I'd appreciate any advice.

Here's some things to try:

  • login to developer.apple.com and check and see if com.os.hub.mth2 inadvertently was registered in your personal account instead of your developer account. If it was, delete it from your personal account.

  • Login to developer.apple.com and check and see if you have a wildcard app id registered in your account. If you do, delete it.

  • If you're using automatic code signing you can delete the invalid certificates in the Keychain Access app. Xcode will download the correct certificates next time you run a build.

If that doesn't help, consider opening a support incident so I can take a look at the settings on your machine. https://developer.apple.com/support/technical/

The app ID is in the team account. I did have a wildcard app ID, but deleting it didn't fix this.

I am using automatic code signing, but how do I know which certificates in Keychain Access are invalid? I've got both certificates and private keys in there. Some Apple Distribution, some say Apple Development, one says Developer ID Application.

I don't want to delete anything essential, so please advice which one(s) to delete.

Invalid certificates will be badged with a little red dot with a white letter X in the middle.

If that doesn't help maybe consider opening a code level support request so I can review your settings (https://developer.apple.com/support/technical/). If you open a request, please include the url to this forums post so it can be routed to me.

No profiles for 'xxx.xxx.xxx.xxx' were found
 
 
Q