I added Cordova as a component to my iOS project. Adding a custom plugin leads to the error, despite that the plugin works in a Cordova-only project:
\'CDVPl
Change your header file to:
#import
it is working in my application.