Olivia Wilde and Rosamund Pike were cast in the lead role before Kate Beckinsale stepped in, with Logan Lerman and Miles Teller being attached to play the lead role before Callum Turner was cast.
The film has been in development since 2012. On August 25th, 2012 it was announced that "(500) Days of Summer" director Marc Webb would direct the film (A little over a month after the release of Webb's previous movie "The Amazing Spider-Man"). After which the film would go through various actors joining then leaving and different drafts of the script being produced and various of other problems. It was only until they finally casted the film, finished the full script (and the errors within the first draft), Marc Webb finishing the Spider-Man movies (and his next film "Gifted") that the film would finally start shooting. It will be 5 years since the films announcement until the final release of the film in 2017.