Iran has qualified for this summer's soccer showpiece, which is being co-hosted by the United States, Canada and Mexico.