The film was originally developed .
The film was originally produced by Walt Disney Pictures , who later sold the distribution rights to Relativity Media , which released the film in theaters on July 2 , 2014 .
The film was originally developed and produced by Walt Disney Pictures , who later sold the distribution rights to Relativity Media , which released the film in theaters on July 2 , 2014 .