This PR fixes the bug in custom frameworks removal logic due to incorrect argument passed to removeFromFrameworkSearchPaths function, which expects pbxFile as argument but gets file path.
The bug hadn't been visible because of too weak validation of arguments for path methods in Node pre-6.0 and causes TypeError only when running on Node@>=6.0 (corresponding change is nodejs/node#/5348R737)
Here is corresponding ticket in Cordova JIRA, caused by this bug - CB-11200
This PR fixes the bug in custom frameworks removal logic due to incorrect argument passed to
removeFromFrameworkSearchPaths
function, which expects pbxFile as argument but gets file path.The bug hadn't been visible because of too weak validation of arguments for
path
methods in Node pre-6.0 and causesTypeError
only when running on Node@>=6.0 (corresponding change is nodejs/node#/5348R737)Here is corresponding ticket in Cordova JIRA, caused by this bug - CB-11200