Iran has warned the United States not to attack its nuclear facilities .