Will LimeWire give your iPhone a virus?

Only if you had it plugged in and you downladed a file that contained a virus, and it somehow managed to get in. But if that happens, just use something like malwarebytes antimalware, and scan the drive you plugged it in at. This will remove any virus you have picked up.