Seems Xcode recognises the team and the profile.
Xojo gives an enormous error message which contains the above, and
'Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Automatic signing is on in Xcode ( I have tried off and manual at one point)
Still the same at the moment
Perhaps I should start again with a new dummy project and ditch the shortname I have been using.
This is making me ill.
I’m going to put it aside for a few days.