Phonegap 3.0 IOS plugins not found

前端 未结 14 1921
天命终不由人
天命终不由人 2020-12-01 03:14

I´m getting this error in XCode:

2013-08-23 14:36:18.284 Tell The DJ[14955:c07] ERROR: Plugin \'Device\' not found, or is not a CDVPlugin. Check your plugin          


        
14条回答
  •  抹茶落季
    2020-12-01 03:19

    I am so tired of removing and re-adding platforms for plugin issues! It seems like it is still a problem even now (2014/10) where if you add plugins to an app after adding platforms the plugin sometime does not get propagated down to the corresponding platform folders/etc. Note this seems to mainly affect iOS - not Android.

    I think my solution is just an updated method of doing same thing bjunix posted earlier - but in XCode 6 to fix this sort of thing without removing/re-adding my platform I:

    • Expand my App/Plugins folder in the left project navigator panel
    • Click on each plugin file in the list that is currently in red text (one at time)
    • Jump to the right side (Utilities) panel and click the folder icon in the Identity and Type section to re-link it to the actual file (see screenshot below).

    After doing the above my project finally builds.

    enter image description here

提交回复
热议问题