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 Method Summary collapse

Constructor Details

#initialize(target_definition, project, project_target_uuids, build_configurations, platform, archs) ⇒ TargetInspectionResult

Initialize a new instance



46
47
48
49
50
51
52
53
54
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 46

def initialize(target_definition, project, project_target_uuids, build_configurations, platform, archs)
  @target_definition = target_definition
  @project = project
  @project_target_uuids = project_target_uuids
  @build_configurations = build_configurations
  @platform = platform
  @archs = archs
  @client_root = Pathname.new(project.project_dir + project.root_object.project_dir_path).realpath
end

Instance Attribute Details

#archsArray<String> (readonly)



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

def archs
  @archs
end

#build_configurationsHash{String=>Symbol} (readonly)



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

def build_configurations
  @build_configurations
end

#client_rootPathname (readonly)



35
36
37
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 35

def client_root
  @client_root
end

#platformPlatform (readonly)



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

def platform
  @platform
end

#projectXcodeproj::Project (readonly)



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

def project
  @project
end

#project_target_uuidsArray<String> (readonly)



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

def project_target_uuids
  @project_target_uuids
end

#target_definitionTargetDefinition (readonly)



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

def target_definition
  @target_definition
end