I have a macOS target that is being built in XCode 8.3.3. I have recently moved my development over onto a "new" iMac (5k 2015). I can build and run the app just fine, but if I try to run the unit tests I receive a "build fails" message, with errors attached to the ...Tests and ...UITests folder. In both cases it states
Dependency Analysis Error:
No certificate matching 'Developer ID Application: <my name and some long char string> Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning.
Now I AM using automatic provisioning. Turning it off and attempting to set things up "by hand" leads to messy (and non-functioning) situations.
Does it make a difference that when I try to view my certificates that I appear to have TWO certificates under Mac Development, one recently created, apparently when I first started to use XCode on my new machine (it has the machine name in parentheses after my name)?
This is very, very frustrating.