Fig Fly
The fig people consider this an issue
New Pest Alert!!!

Black Fig Fly
This can be really bad!
A horrible new pest has recently been found in Southern California. The Black Fig fly is native to the Old World where figs came from. The adult lays eggs in the eye of the developing fruit. A maggot hatches and eats inside. The fig turns soft and dark prematurely and falls to the ground. The mature maggot exits the fruit then pupates in the soil. In some regions of the Mediterranean this fly has caused 100% loss of crop!
Be aware that this maggot can be surprisingly active when disturbed. There can be 4 or 5 generations per year. If you find maggots in your figs, contact the Orange County Agricultural Commissioner. The state wants to know the extent of the infestation. They are working on a lure to trap the males.