AC Milan’s Stephan El Shaarawy opened the scoring just after the half hour for the hosts only for France to level moments later thanks to a fine individual effort from Marseille forward Mathieu Valbuena.
Gomis came on just after the hour to score and though Italy battled for the remainder Cesare Prandelli's side had to settle for their fifth friendly defeat since a 2-0 reverse in Poland a year ago.
Bollywood celebs show you colours for Navratri 2017
Photos: Kareena Kapoor Khan, Kangana Ranaut at the Mumbai airport
Birthday special: Chris Gayle and his multiple records in cricket
In Pictures: 17 dreaded on-screen villains of Bollywood
'Ramayan' director's great granddaughter Sakshi's hottest photos