We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3bd6b commit 0a7543cCopy full SHA for 0a7543c
lib/pbxProject.js
@@ -216,7 +216,7 @@ pbxProject.prototype.removeFromPbxFileReferenceSection = function (file) {
216
var i;
217
var refObj = pbxFileReferenceObj(file);
218
for(i in this.pbxFileReferenceSection()) {
219
- if(this.pbxFileReferenceSection()[i].name == refObj.name &&
+ if(this.pbxFileReferenceSection()[i].name == refObj.name ||
220
this.pbxFileReferenceSection()[i].path == refObj.path) {
221
file.fileRef = file.uuid = i;
222
delete this.pbxFileReferenceSection()[i];
0 commit comments