diff --git a/lib/pbxFile.js b/lib/pbxFile.js index 1b52d25..e977084 100644 --- a/lib/pbxFile.js +++ b/lib/pbxFile.js @@ -128,9 +128,11 @@ function pbxFile(filepath, opt) { if (opt.explicitFileType) { this.explicitFileType = opt.explicitFileType; this.basename = this.basename + '.' + defaultExtension(this); - delete this.path; + // dont delete path as it is used after + // delete this.path; delete this.lastKnownFileType; - delete this.group; + // dont delete group as it is used after + // delete this.group; delete this.defaultEncoding; } @@ -155,4 +157,4 @@ function pbxFile(filepath, opt) { } } -module.exports = pbxFile; \ No newline at end of file +module.exports = pbxFile;