Cordova 3.1.0: Plugin not found or is not a CDVPlugin

前端 未结 6 1288
遇见更好的自我
遇见更好的自我 2021-01-05 16:41

I\'m trying to build my first Cordova app and I can\'t get a plugin to work.

My app was built using the Cordova command line interface, so I\'ve added the Camera plu

6条回答
  •  半阙折子戏
    2021-01-05 16:53

    If you don't have too much tied up in your Xcode project (which I didn't), the easiest way to resolve this is to do:

    cordova platform remove ios
    

    and then...

    cordova platform add ios
    

    Whatever it is that gets muddled up is resolved by doing that. You don't need to reinstall the plugins, they get installed when you re-add the platform.

提交回复
热议问题