lib/cocoapods/installer/analyzer.rb
# Performs the analysis.
#
# The Podfile and the Lockfile provide the information necessary to
# compute which specification should be installed. The manifest of the
# sandbox returns which specifications are installed.
#
# @return [AnalysisResult]
#
Performs the analysis.
The Podfile and the Lockfile provide the information necessary to
compute which specification should be installed. The manifest of the
sandbox returns which specifications are installed.
Performs the analysis . The Podfile and the Lockfile provide the information necessary to compute which specification should be installed . The manifest of the sandbox returns which specifications are installed .
def analyze
        update_repositories_if_needed
        @result = AnalysisResult.new
        @result.podfile_state = generate_podfile_state
        @locked_dependencies  = generate_version_locking_dependencies
        @result.libraries       = generated_libraries
        fetch_external_sources
        @result.specs_by_target = resolve_dependencies
        @result.specifications  = generate_specifications
        @result.sandbox_state   = generate_sandbox_state
        @result
      end
def analyze update_repositories_if_needed @result = AnalysisResult . new @result . podfile_state = generate_podfile_state @locked_dependencies = generate_version_locking_dependencies @result . libraries = generated_libraries fetch_external_sources @result . specs_by_target = resolve_dependencies @result . specifications = generate_specifications @result . sandbox_state = generate_sandbox_state @result end
Performs the analysis.
Performs the analysis .
None
AnalysisResult