xcode errSecInternalComponent

Shell
#keychain is locked run
security unlock-keychain login.keychainreboot your mac
Source

Also in Shell: