Keychain issues after installing backup on new Mac

After using backup to setup my new Mac Mini my xCode App projects run ok in the Simulator but fail to Archive or Analyze with the error: "The specified item could not be found in the keychain." The item is a provisioning profile.

I was able to Run, Archive and Validate these projects on my old Mac Mini just before the final backup. Are there known problems in backup of provisioning profiles or keychains?

I have tried creating new profiles etc without success for several days. I'm not an expert developer so I'm hoping there is a simple solution.

Please suggest the best way to resolve and/or clarify this problem.

Apparently developers should save Keychain info in addition to using Backup to setup a new Mac. I did not! So I created new Developer and Distribution certificates and they show in Keychain Access. I use xCode automatic signing but I still get the ".. could not be found in the keychain" error.

Suggestions to resolve this would be much appreciated!

Keychain issues after installing backup on new Mac
 
 
Q