You should perform virus scans and use malware removal software on all your devices. Any device that can go online can get viruses or other types of malware. This means that your Mac and phone may be vulnerable to viruses.
While Android devices are more likely to get infected than iPhones or iPads, iOS devices are vulnerable to other security threats. Removing adware and protecting against ransomware are important for any device.