After deleting the keys with the command "security delete-keychain", I opened Xcode and it created the keys again automatically. The Distribution Key had accents in my name, I removed the accents, and everything worked out. Now I can publish again, with KeyChain working.
Post
Replies
Boosts
Views
Activity
One solution, to retry the problem... with apple developer, works fine, with apple distribution , via Xcode, crash...
My results: security: SecKeychainDelete: UNIX[No such file or directory] ...
But KeyChain works again...
"This works for me:
I checked my keychains in terminal with command:
security list-keychains
There were two keychains with invalid path on my computer, "Apple Development" and "Mac Developer" keychains in /private/var/... folder.
I deleted the the two keychains in terminal with command:
security delete-keychain [keychain with invalid path]
Some message was displayed, but keychain was successfully removed.
security: SecKeychainDelete: UNIX[No such file or directory]
Now Keychain access works again.
I hope this helps."
When adding the distribution certificate by Xcode,
KeyChain crashed again.
I will try again with a new user.
I created a new user on the Mac, with the same AppleID, and so far so good, the keychain has opened at least.
Same behaviour. 2 weeks ago. One friend help me when i need distribute. Its terrible.
Answer from apple:
"Recent Similar Reports: Less tha 10
Resolution: Potential fix identified - For a future OS update"
I updated the macOs Big Sur - version 11.2, and i have the same problem.