node-xcode icon indicating copy to clipboard operation
node-xcode copied to clipboard

searchPaths.filter is not a function

Open pietro909 opened this issue 7 years ago • 0 comments

See this issue on react-native about how to reproduce it.

The error is located in lib/pbxProject.js, in removeFromFrameworkSearchPaths and `addToFrameworkSearchPaths:

if (searchPaths) {
    var matches = searchPaths.filter(function(p) {

I've noticed that there are no tests for those functions, maybe we can work together to cover those cases?

Thanks

pietro909 avatar Mar 23 '18 10:03 pietro909