Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: prevent error when adding framework from build product dir
Retain the path property for later use after explicit file type assignment.
  • Loading branch information
farfromrefug authored Jan 23, 2026
commit d9d085a8114f87a81e981d3421204784913a6b17
5 changes: 3 additions & 2 deletions lib/pbxFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ 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;
delete this.defaultEncoding;
Expand All @@ -155,4 +156,4 @@ function pbxFile(filepath, opt) {
}
}

module.exports = pbxFile;
module.exports = pbxFile;