Swank is playing the early 20th century aviatrix in the movie directed by Mira Nair. Shooting is underway in Toronto.
McGregor is to play Earhart's love interest Gene Vidal, the father of author Gore Vidal, the trade paper said.
McGregor is best known for his roles in "Moulin Rouge," "Black Hawk Down," "Down with Love," "Big Fish," "Miss Potter" and the three "Star Wars" prequels.
Martin Bashir resigns from MSNBC over Sarah Palin comments
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'