OK, this was simple. I created a certificate and added it to Xcode. I can't remember having done this before, but, hey, probably it's my ageing brain...
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: