We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56960f commit f1b6a8cCopy full SHA for f1b6a8c
lib/pbxProject.js
@@ -933,7 +933,7 @@ pbxProject.prototype.removeFromHeaderSearchPaths = function (file) {
933
INHERITED = '"$(inherited)"',
934
SEARCH_PATHS = 'HEADER_SEARCH_PATHS',
935
config, buildSettings, searchPaths;
936
- var new_path = searchPathForFile(file, this);
+ var new_path = typeof file === 'string' ? file : searchPathForFile(file, this);
937
938
for (config in configurations) {
939
buildSettings = configurations[config].buildSettings;
0 commit comments