content: Some countries have prosecuted companies for producing spyware even the US. Apple wouldn't need to really get involved unless they were really interested in protecting their IP or can prove their actions hurt their product by modifying apple software itself not just installing software on an apple device. Most likely though the person installing the spyware will be the one seeing criminal charges if anything. https://nakedsecurity.sophos.com/2015/10/31/using-droidjack-spyware-to-snoop-on-your-spouse-could-get-you-arrested/