We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddd269f commit 097cb70Copy full SHA for 097cb70
lib/pbxProject.js
@@ -662,7 +662,7 @@ pbxProject.prototype.pbxFileReferenceSection = function() {
662
return this.hash.project.objects['PBXFileReference'];
663
}
664
665
-pbxProject.prototype.pbxNativeTarget = function () {
+pbxProject.prototype.pbxNativeTargetSection = function() {
666
return this.hash.project.objects['PBXNativeTarget'];
667
668
@@ -713,7 +713,7 @@ pbxProject.prototype.buildPhase = function(group, target) {
713
if (!target)
714
return undefined;
715
716
- var nativeTargets = this.pbxNativeTarget();
+ var nativeTargets = this.pbxNativeTargetSection();
717
if (typeof nativeTargets[target] == "undefined")
718
throw new Error("Invalid target: " + target);
719
0 commit comments