Smith was first reported by THR last week, but has now been confirmed. He will be playing the role made famous by the late Robin Williams, who voiced the Genie in Aladdin and the sequel Aladdin and the King of Thieves.

Scott recently starred in the Power Rangers movie, while Massoud will star in the Jack Ryan television show.

Bailey said Ritchie’s film will contain elements from the 1992 animated classic as well as the original source of inspiration, Arabian Nights, AKA One Thousand And One Nights.