I just installed and started using Xcode 10 beta 4 (previously was using just Xcode 9.4.1).
I first noticed the copy bug (copy fails to actually copy, even though the Edit menu blinks as normal when I do a Cmd-C) using Xcode 10 beta 4. But now that I've switched back to Xcode 9.4.1 the bug is still there!
I've even proven the bug with using the Edit menu's Copy command (using my mouse). I cannot reproduce the problem in, say Notes app, nor have I noticed the bug in any other app.
Note: it's not that the copy command is merely skipped. Xcode is clearing the clipboard and then failing to add the new selected text to the clipboard. So that when I go to paste, it beeps at me (and Finder's Show Clipboard says there's nothing on the clipboard, not even what I had previously).
So I think that by installing Xcode 10 beta 4 (I don't know if any previous beta would have this bug or not), now copy is failing for any Xcode I use. Some deeper system of Xcode that all versions share must have been upgraded by installing Xcode 10?
I've done a scan of the Xcode 10 release notes... nothing there about source editor copy bugs or even changes.
I did not touch my Xcode keyboard preferences since installing Xcode 10. I haven't been in that panel in 6+ months. I don't use any Xcode editor extensions. Restarting Xcode does not help at all, even briefly. Restarting the Mac doesn't help either. I've not tried uninstalling Xcode 10 beta 4 and waiting until beta 5 but that'll be my next step. I never run both Xcode apps at once, and I always delete my DerivedData folder before switching between Xcode versions.
My copy command is failing about every 4th try. Incredibly irritating! By the time they fix this, I'll probably be in a habit of doing cmd-C many times in a row for every copy to ensure it works. In fact, I just ran a test: it takes 4 times of pressing cmd-C quickly in a row to reliably make a copy now. i.e. I've sometimes failed at doing 3 in a row, but so far not 4 in a row. 😟
Update: Quitting Xcode (in my case I was running 9.4.1), then throwing Xcode 10 beta 4 into the trash and emptying it, then launching Xcode 9.4.1 again fixed the problem for me in 9.4.1. So I'll put my iOS 12 work on hold until Xcode beta 5. Surely they have a radar on this.
Update 2: Although I still have Xcode 10 beta 4 removed from my system (High Sierra 10.13.5), the bug has come back today in my Xcode 9.4.1, after about an hour of using Xcode. It remains as described above... about every 4th copy fails (failure isn't evident until I try to paste). 😟
Update 3: Upgrading to High Sierra 10.13.6 doesn't help the bug at all. This bug is getting quite irritating. Anyone else have any ideas?