code: function getTargetAttributes(project, target) {
      var attributes = project.getFirstProject()['firstProject']['attributes'];
      target = target || project.getFirstTarget();
  
      if (attributes['TargetAttributes'] === undefined) {
          attributes['TargetAttributes'] = {};
      }
  
      if (attributes['TargetAttributes'][target.uuid] === undefined) {
          attributes['TargetAttributes'][target.uuid] = {};
      }
  
      return attributes['TargetAttributes'][target.uuid];
  }
docs: The node-xcode library doesn't offer a method to get all target attributes, so we'll have to implement it ourselves.