简体   繁体   中英

Cordova file not recognised when app built from command line + iOS

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.

Hi use latest Phonegap version and CLI, that may solve your problem. check this also

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM