"Provisioning profile "[name]" doesn't include signing certificate "[name]"

Got this error trying to build for the app store. Didn’t see a previous forum discussion of this particular error. It came after I had allowed code signing. Anybody seen this one before?

When you create the provisioning profile you specify a signing certificate. Maybe your development profile was fine but your distribution profile is not. That’s why you see the error now.

The cert referenced in the profile has to match the cert you’ve got installed in Keychain and that cert has to be valid (not expired).

Should have known. Even if you think there is nothing wrong with your iOS Distribution certificate or your mobile provisioning profile the first thing to do when you get such error messages is to revoke both of them and create new ones. Fixed the problem