Skip to content

Commit eba0492

Browse files
author
Dimitar Kerezov
committed
Expose PbxProject Section
This way new knownRegions, TargetAttributes and targets can be added
1 parent 3085e40 commit eba0492

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
@@ -430,6 +430,9 @@ pbxProject.prototype.addBuildPhase = function (filePathsArray, isa, comment) {
430430
}
431431

432432
// helper access functions
433+
pbxProject.prototype.pbxProjectSection = function () {
434+
return this.hash.project.objects['PBXProject'];
435+
}
433436
pbxProject.prototype.pbxBuildFileSection = function () {
434437
return this.hash.project.objects['PBXBuildFile'];
435438
}

0 commit comments

Comments
 (0)