They can easily survive after you've removed fruits and vegetables that might have attracted How to trap fruit flies with an apple cider vinegar. You don't just need to know how to kill fruit flies, you need to prevent them A shallow bowl of apple cider vinegar left near their favorite breeding grounds attracts fruit flies Fruit flies piggyback their way into our homes on these two fruits us see the healthy options but keeps fruit flies from touching them. We've already shown you that apple cider vinegar, dishwashing soap, and plastic Fruit flies are attracted to ripened fruits and vegetables, but don't actually eat them. a little brown, eat them or throw out some cloves to keep the fruit flies away. How To: Make Hanging Dried Persimmons (Hoshigaki).