Iran has said it will not resume talks over its nuclear programme while under attack, hours after Israel's defence minister warned of "prolonged" conflict against the Islamic republic.

Exchanges of fire continued on Friday, as Iran fired another salvo of missiles at northern Israel, and Israel targeted dozens of sites in Iran.

Israel's foreign minister, Eyal Zamir, said in a video address that his country should be ready for "a prolonged campaign" and warned of "difficult days ahead."

Iran's foreign minister Abbas Araghchi met with European diplomats in Geneva who urged him to revive diplomatic efforts with the US over Tehran's nuclear programme.

But Araghchi said Iran was ready to consider diplomacy only once Israel's "aggression is stopped".