Rename pbxNativeTarget() to pbxNativeTargetSection()
diff --git a/lib/pbxProject.js b/lib/pbxProject.js
index 575eb3f..4056e40 100644
--- a/lib/pbxProject.js
+++ b/lib/pbxProject.js
@@ -662,7 +662,7 @@
return this.hash.project.objects['PBXFileReference'];
}
-pbxProject.prototype.pbxNativeTarget = function () {
+pbxProject.prototype.pbxNativeTargetSection = function() {
return this.hash.project.objects['PBXNativeTarget'];
}
@@ -713,7 +713,7 @@
if (!target)
return undefined;
- var nativeTargets = this.pbxNativeTarget();
+ var nativeTargets = this.pbxNativeTargetSection();
if (typeof nativeTargets[target] == "undefined")
throw new Error("Invalid target: " + target);