In the past few months, the Trump administration and the U.S. Congress have pointed to Iran's ballistic missile program as a provocative and destabilizing factor, which casts doubt on Iran's intentions and future behavior. On the opposite, the world powers may compare Iran with North Korea that's in complete defiance of Trump's threats and warnings.
Trump has threatened to bin the nuclear agreement altogether, saying Iran is developing missiles that may be used to deliver a nuclear warhead when the deal's restrictions are lifted in 2025.
"Whether you like it or not, we are going to strengthen our military capabilities which are necessary for deterrence", Rouhani said in a speech marking the anniversary of the outbreak of Iran's devastating 1980-1988 war with Saddam Hussein's Iraq.
"We will strengthen not only our missiles but also our air, land and sea forces".
He also criticized the 2015 pact that the United States and six other powers struck with Iran under which Tehran agreed to restrict its nuclear program in return for relief from economic sanctions.
Iran said on Saturday it had successfully tested a new ballistic missile with a range of 2,000 kilometres and would keep developing its arsenal despite USA pressure to stop.
Furthermore, Mr. Hatami said that Iran would 'not seek permission from any country for producing various kinds of missile'.
US President Donald Trump addresses the 72nd Annual UN General Assembly in NY on September 19, 2017.
"This is the third Iranian missile with a range of 2,000 km", it added.
Iran denies its missile development breaches the United Nations resolution and says its missiles are not created to carry nuclear weapons. "Not much of an agreement we have!"
The other signatories to the deal - Britain, France, Germany, China, Russia and the European Union - have all pushed for it to continue.
Iran has insisted the missiles are not created to carry nuclear weapons and is not in violation of the resolution.