To manually request a verification code on your Apple device:
- Go to Settings > [your name] > Sign-In & Security (or Password & Security on older versions).
- Scroll down and tap Get Verification Code.
This option is still available on most iPhones and Macs, though the menu name may vary slightly depending on the iOS/macOS version.
If you’re using an older device that can’t receive verification codes automatically (e.g. for signing in to iCloud), you can generate the code manually using any trusted device signed into the same Apple ID.
If the Get Verification Code option is missing, double-check that the device is still marked as trusted and signed into iCloud. Otherwise, sign out and back into iCloud to re-enable it.