class Xcake::Scheme

This class is used to describe a scheme for a Xcode project; This forms part of the DSL and is usually stored in files named ‘Cakefile`.

Attributes

analyze_configuration[RW]

The configuration to use when analyzing

Defaults to “Debug”

archive_configuration[RW]

The configuration to use when archving

Defaults to “Release”

launch_configuration[RW]

The configuration to use when launching

Defaults to “Debug”

name[RW]

The name for the scheme

profile_configuration[RW]

The configuration to use when profiling

Defaults to “Debug”

test_configuration[RW]

The configuration to use when testing

Defaults to “Debug”

Public Class Methods

new(name) { |self| ... } click to toggle source
# File lib/xcake/dsl/scheme.rb, line 43
def initialize(name)
  @name = name
  @test_configuration = 'Debug'
  @launch_configuration = 'Debug'
  @profile_configuration = 'Debug'
  @analyze_configuration = 'Debug'
  @archive_configuration = 'Release'

  yield(self) if block_given?
end