The Islamic Republic of Iran’s declared position is that it does not want nuclear weapons and never has. Which is good, because the 2015 Joint Comprehensive Plan of Action (JCPOA) contains language declaring that “under no circumstances will Iran ever seek, develop, or acquire any nuclear weapons.”
Which is bad, because Iran cheats.
Prime Minister Benjamin Netanyahu laid out in detail how Iran dissembled to the International Atomic Energy Agency (IAEA), the ostensible authority on Iranian compliance with the JCPOA. Iran had an active nuclear weapons program until 2003. Following the allied invasion of Iraq and fearful of its own future, Iran decided to take a multi-step approach to its nuclear ambitions. While it stopped most of the active weapons program, The New York Times reports that Iran was designing nuclear weapons until 2009. Furthermore, it worked on related capabilities including uranium enrichment and ballistic missile delivery systems (a violation of UN Resolution 2231, as acknowledged by French President Emmanuel Macron). And it kept an enormous “library” of nuclear-related programs and plans.
The JCPOA has not been much of an impediment to Iran’s progress. Despite the literal injunction against nuclear weapons for Iran, the deal (unsigned by anyone on any side) was not designed to end Iran’s pursuit of nuclear capability, military or civilian. The JCPOA called only for a “pause” in Iran’s enrichment of uranium and inspection of Iran’s self-declared nuclear facilities, plus self-inspection of the suspect Parchin plant. Iran proclaimed its military installations off-limits to inspectors. The restrictions were to sunset a few years down the road, making the “library” of great value to future Iranian scientists restarting the program.