I've had a number of these flies this year; my cats' water dish has caught a bunch. LOL. I had a box of mushrooms on my counter that went bad and the little fuckers were in fact reproducing in it. Apparently they really love mushrooms. No joke, the mushrooms looked like corpses as the flies had their way with them.
I made a trap out of a jar and a paper cone. Some success with it, as I filled it with wine and a banana. They loved the wine and the banana. Some escaped because my paper cone wasn't secure enough to the edge of the jar. But the concept was good! Someone needs to invent an actual jar/cone fruit fly trap, not just a dumb strip.
One of our local branches at work had a problem with flies last month, fruit flies mostly. They were EVERYWHERE and they were HORRIBLE. Some dumb shithead that works at that branch is collecting all of the coffee grounds we use in a bucket under the sink. That seems to have been a major source of flies, I discovered. I told the process manager to tell that guy to take his fucking grounds HOME. A coworker dropped a plastic ziploc bag of donuts on my desk and within minutes there were 20 fruit flies landing on the bag. WTF?! I think they like donuts. Who can blame them.
I tried a fly strip (we sell them so all I had to do was take a box out of stock) but it didn't catch a single fly and got stuck both on my clothes and in my hair. No bueno and that shit's awful.
So yeah, wine and a banana, or mushrooms, or coffee grounds apparently, in a container that they can fly into but not out of.