Class: Pod::Installer::Analyzer::TargetInspectionResult
- Inherits:
-
Object
- Object
- Pod::Installer::Analyzer::TargetInspectionResult
- Defined in:
- lib/cocoapods/installer/analyzer/target_inspection_result.rb
Instance Attribute Summary collapse
-
#archs ⇒ Array<String>
readonly
The architectures used by user’s targets.
-
#build_configurations ⇒ Hash{String=>Symbol}
readonly
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`).
-
#platform ⇒ Platform
readonly
The platform of the user targets.
-
#project ⇒ Xcodeproj::Project
readonly
The user’s Xcode project.
-
#project_target_uuids ⇒ Array<String>
readonly
The uuid of the user’s targets.
-
#target_definition ⇒ TargetDefinition
readonly
The target definition, whose project was inspected.
Instance Method Summary collapse
-
#initialize(target_definition, project, project_target_uuids, build_configurations, platform, archs) ⇒ TargetInspectionResult
constructor
Initialize a new instance.
Constructor Details
#initialize(target_definition, project, project_target_uuids, build_configurations, platform, archs) ⇒ TargetInspectionResult
Initialize a new instance
42 43 44 45 46 47 48 49 |
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 42 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 end |
Instance Attribute Details
#archs ⇒ Array<String> (readonly)
Returns the architectures used by user’s targets.
31 32 33 |
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 31 def archs @archs end |
#build_configurations ⇒ Hash{String=>Symbol} (readonly)
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`).
23 24 25 |
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 23 def build_configurations @build_configurations end |
#platform ⇒ Platform (readonly)
Returns the platform of the user targets.
27 28 29 |
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 27 def platform @platform end |
#project ⇒ Xcodeproj::Project (readonly)
Returns the user’s Xcode project.
12 13 14 |
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 12 def project @project end |
#project_target_uuids ⇒ Array<String> (readonly)
Returns the uuid of the user’s targets.
16 17 18 |
# File 'lib/cocoapods/installer/analyzer/target_inspection_result.rb', line 16 def project_target_uuids @project_target_uuids end |
#target_definition ⇒ TargetDefinition (readonly)
Returns 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 |