Method: Xcode::Project#products_group

Defined in:
lib/xcode/project.rb

#products_groupGroup

Most Xcode projects have a products group where products are placed. This will generate an exception if there is no products group.

Returns:

  • (Group)

    the ‘Products’ group of the project.



166
167
168
169
170
# File 'lib/xcode/project.rb', line 166

def products_group
  current_group = groups.group('Products').first
  current_group.instance_eval(&block) if block_given? and current_group
  current_group
end