Can't Login to App Store, iTunes , Xcode , iClouds on Mac 10.12.5
After i try to figure out now i found the solution

Open your Terminal and put this command

sudo mkdir -p /Users/Shared
sudo chown root:wheel /Users/Shared
sudo chmod -R 1777 /Users/Shared


Fixed it