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

前端 未结 9 1177
隐瞒了意图╮
隐瞒了意图╮ 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:34

    I had this issue using Cordova. Come to find out my CordovaLib folder under the ios platform directory vanished.

    I did:

    cordova platform remove ios
    

    then

    cordova platform add ios
    

    ...and this fixed the issue.

提交回复
热议问题