lib/cocoapods/installer.rb
# Creates the Pods project from scratch if it doesn't exists.
#
# @return [void]
#
# @todo   Clean and modify the project if it exists.
#
Creates the Pods project from scratch if it doesn't exists.
Creates the Pods project from scratch if it doesn ' t exists .
def prepare_pods_project
      UI.message "- Creating Pods project" do
        @pods_project = Pod::Project.new(sandbox.project_path)
        if config.podfile_path.exist?
          @pods_project.add_podfile(config.podfile_path)
        end
        sandbox.project = @pods_project
      end
    end
def prepare_pods_project UI . message "- Creating Pods project" do @pods_project = Pod :: Project . new ( sandbox . project_path ) if config . podfile_path . exist? @pods_project . add_podfile ( config . podfile_path ) end sandbox . project = @pods_project end end
Creates the Pods project from scratch if it doesn't exists.
Creates the Pods project from scratch if it doesn ' t exists .
None
void
todo
Clean and modify the project if it exists.
Clean and modify the project if it exists .