SOLVED! XCODE 5.1 compiling: plugins not found!


Have you had this error on XCode Compiling? I’ve XCODE 5.1 and Cordova 3.4.1-0.1.0

CDVPlugin class CDVDevice (pluginName: Device) does not exist.
ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.


I’ve had this error with 3.4.0, so it maybe carried over. Can you try this with 3.5?


No, I’ve not updated to 3.5? Do I need update ionic too or Can I only Cordova?


You’ll only need to update cordova.


I updated. Do I need to launch the build command? Do I lost XCode project setting like icons?
How to upgrade plugins?



I update Cordova and platform to latest version

sudo npm update -g cordova
cordova platform update ios
cordova platform update android

I update plugins with commands:

cordova plugin rm org.apache.cordova.file
cordova plugin add org.apache.cordova.file
  1. org.apache.cordova.console 0.2.9 “Console” org.apache.cordova.device
    0.2.10 “Device” org.apache.cordova.inappbrowser 0.5.1-dev “InAppBrowser” org.apache.cordova.statusbar 0.1.6 “StatusBar”


This is doesn’t appear like a really solution for me, i still got the problem