The United States has accused Iran of working to produce nuclear weapons .