My coworker and I share an iPhone for testing from two separate Macs. I started seeing their code in my clipboard history, and they started seeing mine. Apparently the C in ⌘C stands for coworker.
I never manually enabled Use Shared Clipboard. It was already checked when I opened Device Hub to investigate. I observed this on Xcode 27.2 and macOS 27.2.1. The system logs showed DeviceHub writing the incoming text directly to the Mac’s clipboard, where my clipboard manager saved it without me pressing Paste.
Automatic clipboard sharing is an extremely unsafe default for shared test devices. Pairing an iPhone for debugging shouldn’t silently give another developer’s Mac a copy of whatever I put on my clipboard. The Swift snippets were funny. A password or API token copied as plain text could take the same route and stay in someone else’s clipboard history long after the debugging session ends.
Please default Use Shared Clipboard to off, require explicit opt-in for each connection, and prevent a shared device from forwarding clipboard contents between Macs.