“'CDVPlugin.h' file not found” in Cordova as component (Cleaver)

前端 未结 9 1178
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 03:10

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         


        
9条回答
  •  无人及你
    2020-12-05 03:35

    In xcode 8 and 8 + simply commenting the line worked for me:

    #import ...
    

    This is specifically useful if you are trying to extend IOS app build using ionic or cordova to have watchkit or widget control natively.

提交回复
热议问题