If anyone else has dealt with iCloud Drive constantly getting stuck uploading I wanted to share the best solution I have so far and ask if anyone has fixed it another way.

What I’ve figured out from reading Apple support and Reddit threads is that there’s a daemon called bird at /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird that handles syncing, and killing it forcing it to restart usually gets things working again.

My oneliner script to kill it to force a restart: pid=$(ps -ax | pgrep bird | awk '{print}'); kill $pid

But sometimes it restarts and gets stuck the same way. Do you get this issue? Figured anything out about it?