Skip to content

Instantly share code, notes, and snippets.

@hprobotic
Created June 6, 2023 10:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hprobotic/66143f975f8ee23e0e4e2303917f3178 to your computer and use it in GitHub Desktop.
Save hprobotic/66143f975f8ee23e0e4e2303917f3178 to your computer and use it in GitHub Desktop.

[FIX]: For Universal Clipboard copy/paste not working

I, like many people, have found that Universal Clipboard copy/paste stops working for no reason. I have a iPhone 12 Pro and an M1 MacBook Air.

All Handoff features work (e.g apps from phone showed up in dock) except copy/paste. I'd tried:

  • Turning BT and Wireless on and off again
  • Turning off/on Handoff on Mac/iPhone
  • Turning everything off on both devices, restarting, turning back on again
  • Deleting BT preferences
  • Even signed out of iCloud on my phone and back in again.

NOTHING worked. Until this:

Make sure you're logged in to iCloud, same account, both devices. Handoff on in preferences as usual. Go to Terminal, and run this:

defaults delete ~/Library/Preferences/com.apple.coreservices.useractivityd.plist ClipboardSharingEnabled
defaults write ~/Library/Preferences/com.apple.coreservices.useractivityd.plist ClipboardSharingEnabled 1

Universal Clipboard immediately starts working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment