We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NativeScript
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 322f304 commit be8498dCopy full SHA for be8498d
lib/pbxProject.js
@@ -1110,7 +1110,7 @@ pbxProject.prototype.removeFromFrameworkSearchPaths = function(file) {
1110
1111
searchPaths = buildSettings[SEARCH_PATHS];
1112
1113
- if (searchPaths) {
+ if (searchPaths && Array.isArray(searchPaths)) {
1114
var matches = searchPaths.filter(function(p) {
1115
return p.indexOf(new_path) > -1;
1116
});
@@ -1157,7 +1157,7 @@ pbxProject.prototype.removeFromLibrarySearchPaths = function(file) {
1157
1158
1159
1160
1161
1162
1163
0 commit comments