I have created an app in IOS with cordovav 2.1.0 framework. I am building the app from command line (from the path where the proj_name.xcodeproj exists) with command as :-
xcodebuild -sdk iphoneos6.1 -target blahapp
. I get the error as
fatal error: 'Cordova/CDVViewController.h' file not found.
Why is this error coming? This error doesn't come when I run the app from xcode. Seems that it is not recognising the cordova files.