[
https://issues.apache.org/jira/browse/CB-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498888#comment-14498888
]
Xingchen Yu commented on CB-5454:
---------------------------------
Hi, I have seen this exact issue. It is definitely active. I have debugged this
issue and I'd like to point out that [~mhartington] have missed a crucial
reproduction step. Here is how to reproduce it:
1. Create Cordova project with ios platform.
2. Add any plugin.
*3*. Open ProjectName.xcodeproj in Xcode (mine is 6.2). Make any random
modification (does not need to be related to the plugin) which makes Xcode save
the project.
4. Remove plugin added by step 2.
5. Add the same plugin.
6. Build, deploy and do whatever to trigger the plugin.
7. Observe ERROR: Plugin 'Your Plugin' not found, or is not a CDVPlugin. Check
your plugin mapping in config.xml.
I have already debugged this issue and found its cause, which is in node-xcode.
I have already filed a issue on node-xcode's bug tracker and created a pull
request that fixes this issue. Please consider upgrade node-xcode version when
they accept my pull request (or something similar) and make a new release.
https://github.com/alunny/node-xcode/issues/44
https://github.com/alunny/node-xcode/pull/45
Thanks
> Plugin Mapping Issue
> --------------------
>
> Key: CB-5454
> URL: https://issues.apache.org/jira/browse/CB-5454
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, iOS, Plugins
> Affects Versions: 3.1.0
> Environment: iOS
> Reporter: Mike Hartington
> Assignee: Braden Shepherdson
> Labels: cli, config.xml,, cordova, cordova-cli
> Fix For: 3.2.0
>
>
> Once I've removed a plugin, I'm unable to add any plugins back again. So from
> the command line,
> cordova plugin rm org.apache.cordova.device
> cordova plugin add org.apache.cordova.device
> Everything installs properly but once I go into Xcode and run the project, my
> console puts out
> 2013-11-20 14:59:28.301 ProductDemo[65497:a0b] CDVPlugin class CDVStatusBar
> (pluginName: StatusBar) does not exist.
> 2013-11-20 14:59:28.302 ProductDemo[65497:a0b] ERROR: Plugin 'StatusBar' not
> found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
> 2013-11-20 14:59:28.303 ProductDemo[65497:a0b] -[CDVCommandQueue
> executePending] [Line 117] FAILED pluginJSON = [
> "INVALID",
> "StatusBar",
> "overlaysWebView",
> [
> true
> ]
> ]
> I've run thought the debugging option and no errors come up so I'm not sure
> what the issue is, but my config.xml is correct and everything is copied
> over as far as files go. Anyone have this issue too?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]