Skip to content

Commit 0932434

Browse files
Dimitar Kerezove2l3n
authored andcommitted
Expose PbxProject Section
This way new knownRegions, TargetAttributes and targets can be added
1 parent 9432acf commit 0932434

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/pbxProject.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ pbxProject.prototype.addBuildPhase = function (filePathsArray, isa, comment) {
550550
}
551551

552552
// helper access functions
553+
pbxProject.prototype.pbxProjectSection = function () {
554+
return this.hash.project.objects['PBXProject'];
555+
}
553556
pbxProject.prototype.pbxBuildFileSection = function () {
554557
return this.hash.project.objects['PBXBuildFile'];
555558
}

0 commit comments

Comments
 (0)