class Pod::Installer::BaseInstallHooksContext::UmbrellaTargetDescription
Pure data class which describes an umbrella target.
Attributes
@return [String] The label for the target.
@return [String] The deployment target.
@return [Symbol] The platform (either ‘:ios`, `:watchos`, `:tvos`, `:visionos`, or `:osx`).
@return [Array<Specification>] The list of the
specifications of the target.
@return [Xcodeproj::Project] The user project into which this target
is integrated.
@return [Array<PBXNativeTarget>]
The list of user targets integrated by this umbrella target.
Public Class Methods
Initialize a new instance
@param [Xcodeproj::Project] user_project
see user_project
@param [Array<PBXNativeTarget>] user_targets
see user_targets
@param [Array<Specification>] specs see specs
@param [Symbol] platform_name
see platform_name
@param [String] platform_deployment_target
see platform_deployment_target
@param [String] cocoapods_target_label
see cocoapods_target_label
# File lib/cocoapods/installer/base_install_hooks_context.rb, line 121 def initialize(user_project, user_targets, specs, platform_name, platform_deployment_target, cocoapods_target_label) @user_project = user_project @user_targets = user_targets @specs = specs @platform_name = platform_name @platform_deployment_target = platform_deployment_target @cocoapods_target_label = cocoapods_target_label end
Public Instance Methods
@return [String] The path of the user project
integrated by this target.
# File lib/cocoapods/installer/base_install_hooks_context.rb, line 133 def user_project_path user_project.path if user_project end
@return [Array<String>] 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.
# File lib/cocoapods/installer/base_install_hooks_context.rb, line 144 def user_target_uuids user_targets.map(&:uuid) end