Class: Pod::Installer::Analyzer::TargetInspectionResult

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods/installer/analyzer/target_inspection_result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#archsArray<String>

Returns the architectures used by user’s targets.

Returns:

  • (Array<String>)

    the architectures used by user’s targets



32
33
34
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 32

def archs
  @archs
end

#build_configurationsHash{String=>Symbol}

Returns A hash representing the user build configurations where each key corresponds to the name of a configuration and its value to its type (‘:debug` or `:release`).

Returns:

  • (Hash{String=>Symbol})

    A hash representing the user build configurations where each key corresponds to the name of a configuration and its value to its type (‘:debug` or `:release`).



24
25
26
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 24

def build_configurations
  @build_configurations
end

#platformPlatform

Returns the platform of the user targets.

Returns:

  • (Platform)

    the platform of the user targets



28
29
30
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 28

def platform
  @platform
end

#project_pathPathname

Returns the path of the user project that the #target_definition should integrate.

Returns:

  • (Pathname)

    the path of the user project that the #target_definition should integrate



13
14
15
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 13

def project_path
  @project_path
end

#project_target_uuidsArray<String>

Returns the uuid of the user’s targets.

Returns:

  • (Array<String>)

    the uuid of the user’s targets



17
18
19
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 17

def project_target_uuids
  @project_target_uuids
end

#recommends_frameworksBool

Returns whether frameworks are recommended for the integration due to the presence of Swift source in the user’s targets.

Returns:

  • (Bool)

    whether frameworks are recommended for the integration due to the presence of Swift source in the user’s targets



37
38
39
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 37

def recommends_frameworks
  @recommends_frameworks
end

#target_definitionTargetDefinition

Returns the target definition, whose project was inspected.

Returns:

  • (TargetDefinition)

    the target definition, whose project was inspected



8
9
10
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 8

def target_definition
  @target_definition
end