Principal photography for Shazam! began in Toronto and Hamilton,[68] in Ontario, Canada on January 29, 2018,[69] under the working title Franklin,[70] and wrapped by mid-May 2018.[71] The film was set primarily in Philadelphia, Pennsylvania and is firmly established within the DCEU.[5] Most of the production was shot at Pinewood Toronto Studios, and also several public locations around the city, including the University of Toronto, Woodbine Shopping Centre,[72] and Hearn Generating Station.