Here is a really annoying problem with iCloud, when you get a dialog box all the time that says “This mac can’t connect to iCloud because of a problem with” ….
Then you open the settings and re-type your passoword and the secound after the box pop-up again and again!
This happened for me after updating to OS X 10.11 El Capitan and changing my password on my iCloud account.
After a few tries of things i found on the internet i stubmle upon the right solution that was really ease to fix.
How to fix the “mac can’t connect to iCloud”
1. Open finder and select “Go” in the top menu, then select “Go to folder” or use the keyboard shortcut “Shift + Command + G” (when in finder window)
Copy and past the line below to access the folder.
/Users/YOUR-HOME/Library/Application Support/iCloud/Accounts
Hint: To find “YOUR-HOME” folder name, Open finder and select “Go” then “Home” or use the keyboard shortcut “Shift + Command + H” (when in finder window), then check the title of your Finder window, you see a little house then follows the name of your home folder
2. Delete all the files you find in that folder and empty the trash.
3. Restart your Mac and your problems will be solved.
In some cases the dialog will come up after the restart, no worries just input the password once more and the problem will be solved.
If if if this dosen’t work, sign out of your icloud account and “delete” everything, and to the steps once more.
Don’t worry the data is stored in icloud and will be restored when you login again.
Just got a new Macbook and it’s coming up this message but when I copy /Users/YOUR-HOME/Library/Application Support/iCloud/Accounts into ‘Go to folder’ it says no folder found. Anyone got any ideas?
Hi! Ou need to replace the “YOUR-HOME” with the name of your home folder.
Erik, thank you that worked, you helped calm a panicked Mac user, being that hardly never have any issues, the sweaty palms and bulging eyes appear when an error does present itself. I followed your instructions and I’m relaxed again. Much appreciate you taking the time to post for me and others to find.
Your welcome Rob! I’m glad it helped you.
Hoping this is the fix! 🙂
Thank you so much! This has been driving me nuts for weeks now.
Os X El Capitan 10.11.5
Thanks Erik, worked for me
Thanks for this epitomized instruction. It works for me. I have the same problem on my Mac Air and iMac. I signed out and deleted the files in the folder you mentioned in this instruction. When you sign out your iCould account, the system will ask you to delete something, such as your calendar, contact, etc., I delete all of them. After that, I also deleted all files in the Account folder, and then restarted my Mac Air and iMac. When I signed in to with my Apple iCloud account again on my both computers, the annoying message does not pop out anymore.
For me, none of these solutions worked.
First of all, the deletion of the files from /Users/YOUR-HOME/Library/Application Support/iCloud/Accounts followed by a restart yielded no results.
Curiously, when I tried to delete/sign out of iCloud, this just wasn’t possible as in, my computer just did not respond to my attempt at doing this.
I then went to “accounts” in my Mail application and disabled iCloud for my mails just to get rid of the annoying pop-up window. It vanished. I’ve got my email bound to all my devices anyway, so I don’t think I’ll miss the iCloud functionality in this regard anyway.
~/Library/Application Support/iCloud/Accounts is better.
/Users/YOUR-HOME/Library/Application Support/iCloud/Accounts is what I tried to follow but iCloud/Accounts folders do not exist. How do I create these?
You need to replace “YOUR-HOME” with the name of your home folder.
I can’t believe this worked for me! So simple to do as well! Thank you so much Erik!
It’s not working It will survive a reboot or two then it comes back again The only solution for this bug is to disable iCloud altogether and don’t use it until they fix it
Im sorry to hear that, this solution worked for me. Seams that the problem can appear in meny ways. Lucky me this worked then.