I am trying to integrate a PhoneGap application with Jenkins, but i am getting some error messages in jenkins (and also in Terminal) as the Cordova files has not been found, but in XCode I am not getting any errors
/Users/Shared/Jenkins/Home/jobs/appName/workspace/appName/Plugins/WebAppPlugin.h:9:9: fatal error: 'Cordova/CDVPlugin.h' file not found
#import <Cordova/CDVPlugin.h>
^
1 error generated.
/Users/Shared/Jenkins/Home/jobs/appName/workspace/appName/Classes/AppDelegate.h:30:9: fatal error: 'Cordova/CDVViewController.h' file not found
#import <Cordova/CDVViewController.h>
^
1 error generated.
I tried many solutions from previous posts, nothing helps
Solution 1: "'CDVPlugin.h' file not found" in Cordova as component (Cleaver)
solution 2: 'Cordova/CDVViewController.h' file not found when run in Xcode terminal
Solution 3: PhoneGap Xcode Missing Header files on Build 'Cordova/CDVViewController.h' file not found
Solution 4: still getting <Cordova/CDVViewController.h> file not found error in xcode
Any help is appreciated.