Ticino cantonal police said the attack was over and the suspect, a 28-year-old who lives in the area, was in custody.
BEHIND THE LINES: The plot to bomb the Paris NCRI rally reflects a notable pattern of activity by certain Iranian state bodies, conducted via Iranian representations abroad.
Masri was reportedly killed by Israeli operatives at the behest of the US in August while he was hiding in Iran.
The Nov. 13, 2015 rampage by jihadist suicide bombers and gunmen killed 130 people, wounded hundreds and left deep scars on the nation's psyche.
The explosion was the second security incident to take place in Jeddah in the last couple of weeks.
The two were asked to carry out shooting and kidnapping attacks for the Gaza-based terror group.
"We have a first principle which is the highest respect for Islam," Le Drian told reporters. "I also want to say that Muslims are fully part of society in France."
Swiss authorities have said the two men were "obviously friends" of the attacker and had met in person, but did not say when.
Austria had already admitted fumbling intelligence from Slovakia that the 20-year-old gunman had attempted to buy ammunition there.