Unlike, India, Pakistan or, say, Israel, Iran is a ratifier of the non-proliferation treaty and subject to inspections making sure they don’t. Meanwhile Israel not only has had nukes for decades but also continually refuses any accountability for them.
Indeed, to venture off-topic, Israel has sought nuclear weapons for as long as it has existed, which one might plausibly construe as further evidence that their state was knowingly and willingly established by military force, without much pretense that it could ever persist otherwise.
They wouldn't be the only country that made nuclear weapons. Or are you proposing that every country that's ever manufactured nukes be bombed into dust? There are a lot of them.
Your questions in here give the impression you do, and that your opinion is in favor of some kind of intervention. Military interventions have all gone poorly for us, while using diplomacy has worked over and over. Results should matter here and results say bombing is the wrong choice.