You can install a spy app remotely if the phone's owner has disabled two-factor authentication in iCloud settings. Otherwise, you'll need to gain physical access to the target device and get the verification code sent by Apple. The process takes a few minutes. Plus, you won’t need to reassess the target phone after initial setup.