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 48cef4c commit ddd269fCopy full SHA for ddd269f
lib/pbxProject.js
@@ -355,6 +355,13 @@ pbxProject.prototype.addToPbxProjectSection = function(target) {
355
this.pbxProjectSection()[this.getFirstProject()['uuid']]['targets'].push(newTarget);
356
}
357
358
+pbxProject.prototype.addToPbxNativeTargetSection = function(target) {
359
+ var commentKey = f("%s_comment", target.uuid);
360
+
361
+ this.pbxNativeTargetSection()[target.uuid] = target.pbxNativeTarget;
362
+ this.pbxNativeTargetSection()[commentKey] = target.pbxNativeTarget.name;
363
+}
364
365
pbxProject.prototype.addToPbxFileReferenceSection = function(file) {
366
var commentKey = f("%s_comment", file.fileRef);
367
0 commit comments