mac-cleanup / mac-cleanup-sh

🗑️ Cleanup script for macOS (DEPRECATED)
https://wartner.io
MIT License
2.62k stars 241 forks source link

Mac cleanup would cause iCloud synchronization failure #118

Open r1chard-lyu opened 11 months ago

r1chard-lyu commented 11 months ago

After a Mac cleanup, iCloud may cause MacOS to have trouble syncing with iCloud, including desktop files and notes.

welcome[bot] commented 11 months ago

Thanks for opening your first issue here! Be sure to follow the issue template!

efa2d19 commented 11 months ago

Hey 👋🏻 Not sure about what can cause this behavior. Can you give some details about your system and how the problem looks like? Meantime you can try using python version, unfortunately can't promise the problem won't persist there.

r1chard-lyu commented 11 months ago

My MacOS is 13.2.1(22D68), and after mac-cleanup, and the files in my folder cannot upload to iCloud automatically, and also cannot download fils automatically, and any service about iCloud cannot normal execution.

I found out that by performing the following three steps, I can reset iCloud service.

  1. Turn off Wi-Fi first.
  2. Navigate to ~/Library/Application\ Support.
  3. Run sudo rm -rf CloudDocs.

Therefore, I suspect it might be due to deleting a folder inside ~/Library/Application\ Support. However, the exact reason may require further investigation.