Cannot select distribution certificate

I'm new to Xcode so this may well be a user error somewhere. I've got an app created and built and tested on the mac but when I try to deploy so it can be tested by others I get an error that says: "Certificate in Provisioning Profile does not match certificate which signed app. To fix, re-sign with the Production Distribution certificate named ***" and it lists the distribution cert for our team. The problem is that no matter what I've tried to do, change, reset, or update I cannot get any option for signing certificate other than the "iPhone Developer" one with my name on it.


I know the distribution cert is inmy key chain and I can see it when I look at the Accounts section in Xcode so I assume Xcode knows it exists. I jsut cannot figure out a way to set it as the cert to use when I build and archive it.


Using Xcode 9 on OS Sierra.


thanks in advance!!


Dave

Dave:


Do you have a paid Developer Program account, or are you using 'free provisioning'?


Are you on other teams?

Is this a mac application you're trying to send out for testing?

>Cannot select distribution certificate


Why it, for testing?


Ken

Cannot select distribution certificate
 
 
Q