I would double-check that your app's CordovaLib's sub-project is indeed 2.1.
- (BOOL)supportsOrientation:(UIInterfaceOrientation)orientation; is listed new in 2.1, and is listed in CDVViewController.h On Thu, Oct 4, 2012 at 8:16 AM, Saurabh Kumar Singh <skuma...@adobe.com>wrote: > I am using PhoneGap 2.1 in our application. > But during command line compilation I keep getting following error > > > AppDelegate.m:83:14: error: no visible @interface for 'CDVViewController' > declares the selector 'supportsOrientation:' > > > Can someone please advice me if I am missing anything ? > > Thanks & Regards, > Saurabh >