Skip to content

Commit 097cb70

Browse files
committed
Rename pbxNativeTarget() to pbxNativeTargetSection()
1 parent ddd269f commit 097cb70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pbxProject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ pbxProject.prototype.pbxFileReferenceSection = function() {
662662
return this.hash.project.objects['PBXFileReference'];
663663
}
664664

665-
pbxProject.prototype.pbxNativeTarget = function () {
665+
pbxProject.prototype.pbxNativeTargetSection = function() {
666666
return this.hash.project.objects['PBXNativeTarget'];
667667
}
668668

@@ -713,7 +713,7 @@ pbxProject.prototype.buildPhase = function(group, target) {
713713
if (!target)
714714
return undefined;
715715

716-
var nativeTargets = this.pbxNativeTarget();
716+
var nativeTargets = this.pbxNativeTargetSection();
717717
if (typeof nativeTargets[target] == "undefined")
718718
throw new Error("Invalid target: " + target);
719719

0 commit comments

Comments
 (0)