Resetting an AppleID password when you don't have access to an IOS device 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.
Have her put the SIM card of the iPhone 7 into the iPhone 4s and then when the 4s asks her for the code, she can say "Didn't receive code" and then chose the option "Text me" and it will text her the code if that number is her trusted number and if the number is still active.

Then she can put that trusted number into her iPhone 4s. Once she does that she needs to go to www.appleid.apple.com and then sign into her account and then add a new trusted number. Also make sure that she is really signed into iCLoud on her Mac. You can click on the Apple Logo -> System Preferences -> iCloud and then see if it asks her to sign in or enter her password. If not, then she is signed in.

If she is in the setup process, she needs to setup the iPhone as new (Apps &amp; Data screen), and then when it asks her to sign in, DON'T SIGN IN. Choose below it "Forgot password or don't have an Apple ID?". On the next page choose "Setup Later in Settings" and it will let her setup the iPhone without an Apple ID so she can get the code she needs.

Let me know if you have any questions!