Method: Pod::XBuilder#initialize

Defined in:
lib/cocoapods-framework/xbuilder.rb

#initialize(installer, source_dir, sandbox_root, spec, configuration) ⇒ XBuilder

Returns a new instance of XBuilder.



9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/cocoapods-framework/xbuilder.rb', line 9

def initialize(installer, source_dir, sandbox_root, spec, configuration)
# def initialize(platform, installer, source_dir, sandbox_root, spec, config)
    # @platform = platform
  @installer = installer
  @source_dir = source_dir
  @sandbox_root = sandbox_root
  @spec = spec
  @muti = @spec.is_a? Array
  @configs = @spec if @muti
  @spec = "muti" if @muti

  @configuration = configuration
  @outputs = Hash.new
end