Method: Pod::Installer::Xcode::ProjectGenerator#initialize

Defined in:
lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb

#initialize(sandbox, path, pod_targets, build_configurations, platforms, object_version, podfile_path = nil, pod_target_subproject: false) ⇒ ProjectGenerator

Initialize a new instance

Parameters:

  • sandbox (Sandbox)

    @see #sandbox

  • path (String)

    @see #path

  • pod_targets (Array<PodTarget>)

    @see #pod_targets

  • build_configurations (Hash{String=>Symbol})

    @see #build_configurations

  • platforms (Array<Platform>)

    @see #platforms

  • object_version (Integer)

    @see #object_version

  • podfile_path (String) (defaults to: nil)

    @see #podfile_path



56
57
58
59
60
61
62
63
64
65
66
# File 'lib/cocoapods/installer/xcode/pods_project_generator/project_generator.rb', line 56

def initialize(sandbox, path, pod_targets, build_configurations, platforms,
               object_version, podfile_path = nil, pod_target_subproject: false)
  @sandbox = sandbox
  @path = path
  @pod_targets = pod_targets
  @build_configurations = build_configurations
  @platforms = platforms
  @object_version = object_version
  @podfile_path = podfile_path
  @pod_target_subproject = pod_target_subproject
end