Class: Pod::DyInstaller::PostInstallHooksContext::UmbrellaTargetDescription
- Inherits:
-
Object
- Object
- Pod::DyInstaller::PostInstallHooksContext::UmbrellaTargetDescription
- Defined in:
- lib/pod/installer/post_install_hooks_context.rb
Overview
Pure data class which describes and umbrella target.
Instance Attribute Summary collapse
-
#cocoapods_target_label ⇒ String
The label for the target.
-
#platform_deployment_target ⇒ String
The deployment target.
-
#platform_name ⇒ Symbol
The platform (either ‘:ios`, `:watchos`, `:tvos`, or `:osx`).
-
#specs ⇒ Array<Specification>
The list of the specifications of the target.
-
#user_project ⇒ Xcodeproj::Project
The user project into which this target is integrated.
-
#user_targets ⇒ Array<PBXNativeTarget>
The list of user targets integrated by this umbrella target.
Instance Method Summary collapse
-
#user_project_path ⇒ String
The path of the user project integrated by this target.
-
#user_target_uuids ⇒ Array<String>
The list of the UUIDs of the user targets integrated by this umbrella target.
Instance Attribute Details
#cocoapods_target_label ⇒ String
Returns The label for the target.
103 104 105 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 103 def cocoapods_target_label @cocoapods_target_label end |
#platform_deployment_target ⇒ String
Returns The deployment target.
99 100 101 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 99 def platform_deployment_target @platform_deployment_target end |
#platform_name ⇒ Symbol
Returns The platform (either ‘:ios`, `:watchos`, `:tvos`, or `:osx`).
95 96 97 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 95 def platform_name @platform_name end |
#specs ⇒ Array<Specification>
Returns The list of the specifications of the target.
91 92 93 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 91 def specs @specs end |
#user_project ⇒ Xcodeproj::Project
Returns The user project into which this target is integrated.
63 64 65 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 63 def user_project @user_project end |
#user_targets ⇒ Array<PBXNativeTarget>
Returns The list of user targets integrated by this umbrella target.
75 76 77 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 75 def user_targets @user_targets end |
Instance Method Details
#user_project_path ⇒ String
Returns The path of the user project integrated by this target.
68 69 70 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 68 def user_project_path user_project.path if user_project end |
#user_target_uuids ⇒ Array<String>
Returns The list of the UUIDs of the user targets integrated by this umbrella target. They can be used to find the targets opening the project They can be used to find the targets opening the project with Xcodeproj.
84 85 86 |
# File 'lib/pod/installer/post_install_hooks_context.rb', line 84 def user_target_uuids user_targets.map(&:uuid) end |