cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Mueller (JIRA)" <>
Subject [jira] [Commented] (CB-5898) Removal of Plugin Leaves Traces in project.pbxproj
Date Mon, 24 Mar 2014 21:50:44 GMT


Graham Mueller commented on CB-5898:

I'm seeing this same issue, though I'm having a *really* hard time reproducing it consistently.
Since I'm working with some plugin development, I frequently have to run through the `plugman
uninstall/install` cycle, which seems to sometimes fail to completely remove the plugin from
the project.

In the cases that it fails, it seems to be because the Xcode module's 'removeFromPbxFileReferenceSection'
is searching for path/name *with* quotes, but the actual filename does not have quotes around
it. I'm sorry if this isn't terribly clear, I'm having a hard time debugging through this,
but that's the best I've been able to find so far.

Because of this failure to remove, subsequent installs determine that the plugin is 'already
installed,' and so you end up in this broken state where your plugin never actually gets added
back to the Target Membership in your Xcode Project.

> Removal of Plugin Leaves Traces in project.pbxproj
> --------------------------------------------------
>                 Key: CB-5898
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugman
>    Affects Versions: 3.3.0
>            Reporter: Shane Carr
> When running `phonegap local plugin remove x.y.z` on a custom plugin, traces of the removed
plugin remain in `project.pbxproj`.  A consequence is that subsequent `phonegap local plugin
add` calls do not add source files to the build path.
> Manually removing all references to plugin files from `project.pbxproj` after a `phonegap
local plugin remove` allows `phonegap local plugin add` to work as expected.
> I'm unsure if this is a bug in Plugman or a bug in [node-xcode|].
> Let me know if you need more information or a test case.

This message was sent by Atlassian JIRA

View raw message