class Xcodeproj::Project::Object::PBXGroup

def new_variant_group(name, path = nil, source_tree = :group)

Returns:
  • (PBXVariantGroup) - the new variant group.

Parameters:
  • source_tree (Symbol) --
  • path (#to_s) --
  • name (#to_s) --

Other tags:
    Note: - @see new_group
def new_variant_group(name, path = nil, source_tree = :group)
  group = project.new(PBXVariantGroup)
  children << group
  group.name = name
  group.set_source_tree(source_tree)
  group.set_path(path)
  group
end