cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-4357) TypeError when uninstall / install of a plugin
Date Tue, 23 Jul 2013 12:10:49 GMT

    [ https://issues.apache.org/jira/browse/CB-4357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716336#comment-13716336
] 

Shazron Abdullah commented on CB-4357:
--------------------------------------

Turns out somehow when I opened the project in Xcode earlier, Xcode happily inserted this
in the .pbxproj:
{code}
      LIBRARY_SEARCH_PATHS = "$(inherited)";
{code}

If I remove that line, it installs/uninstalls fine.
                
> TypeError when uninstall / install of a plugin
> ----------------------------------------------
>
>                 Key: CB-4357
>                 URL: https://issues.apache.org/jira/browse/CB-4357
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Plugman
>    Affects Versions: 3.0.0
>            Reporter: Shazron Abdullah
>            Assignee: Filip Maj
>
> At uninstall:
> {code}
> Calling plugman.uninstall on plugin "com.testflightapp.plugin" for platform "ios"
> Uninstalling com.testflightapp.plugin...
> Beginning processing of action stack for ios project...
> Parsing iOS project files...
> Error during processing of action! Attempting to revert...
> TypeError: Uh oh!
> Object "$(inherited)" has no method 'filter'
>     at pbxProject.removeFromLibrarySearchPaths (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/xcode/lib/pbxProject.js:460:55)
>     at module.exports.source-file.uninstall (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/platforms/ios.js:69:31)
>     at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/action-stack.js:49:25)
>     at handleUninstall (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:164:13)
>     at runUninstall (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:120:9)
>     at Function.module.exports.uninstallPlatform (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:42:5)
>     at /usr/local/lib/node_modules/cordova/src/plugin.js:148:51
>     at Array.forEach (native)
>     at /usr/local/lib/node_modules/cordova/src/plugin.js:144:42
>     at Array.forEach (native)
> {code}
> At install:
> {code}
> Calling plugman.install on plugin "/Users/shazron/Documents/Git/Klippings/klippings/plugins/com.testflightapp.plugin"
for platform "ios"
> Starting installation of "com.testflightapp.plugin"...
> Installing plugin com.testflightapp.plugin...
> Beginning processing of action stack for ios project...
> Parsing iOS project files...
> Error during processing of action! Attempting to revert...
> TypeError: Uh oh!
> Object "$(inherited)" has no method 'push'
>     at pbxProject.addToLibrarySearchPaths (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/xcode/lib/pbxProject.js:487:47)
>     at module.exports.source-file.install (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/platforms/ios.js:53:31)
>     at Object.ActionStack.process (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/action-stack.js:49:25)
>     at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:283:13)
>     at runInstall (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:235:9)
>     at possiblyFetch (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:63:9)
>     at Object.installPlugin [as install] (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:44:5)
>     at /usr/local/lib/node_modules/cordova/src/plugin.js:101:45
>     at Array.forEach (native)
>     at /usr/local/lib/node_modules/cordova/src/plugin.js:97:46
> {code}
> The result is improper uninstallation/installation leaving plugin files still referenced
in the pbxproj and on disk. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message