An error occurred when accessing the keychain
I didn’t add the Team ID prefix before my App ID, so it didn’t work. You need to have an Apple Developer Account and a Team ID in order to do this, like this:
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.