"The Sound of Music" was an interim film for Wise, produced to mollify the studio while he developed the difficult film "The Sand Pebbles" (1966), starring Steve McQueen, Richard Attenborough, and Candice Bergen.