Okay, here is a kafkaesque situation:
A friend of mine broke her iPhone 7, to an extent that she can't even read the screen or reliably press it. She is setting up a borrowed iPhone 4S (with iOS 8)... but when introducing her iCloud credentials, the phone asks her for a verification code. This code is sent to her old iPhone... but since it's screen is broken, she can't read the code.
I've been trying to help her, but all the methods I've found (iforgot.apple.com, use "Find my iPhone" in my own phone) involved receiving a passcode in her old iPhone... the one that she where can't read the screen. The only alternative seems to initiate an account recovery, which may take days, and from what I've read (https://www.digitaltrends.com/mobile/how-to-reset-your-apple-id-password/2/) also involves receiving a verification code in the iPhone.
My friend does have a Mac signed into iCloud, and also access to the email address of her iCloud account. Isn't there a way to receive the verification code in the Mac, or through email? Maybe I'm missing it, but I haven't been able to find any way.