None of the above helped me but I did start to get different errors when I added the recommended search path to build settings. The fix suggested by XCode was to change such references:
#import <Cordova/CDVViewController.h>`` to
#import “Cordova/CDVViewController.h”`
Ultimately this change in 4 places (2 files) allowed me to successfully archive/generate my .ipa file.