Class: Pod::DyInstaller::PostInstallHooksContext::UmbrellaTargetDescription

Inherits:
Object
  • Object
show all
Defined in:
lib/pod/installer/post_install_hooks_context.rb

Overview

Pure data class which describes and umbrella target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cocoapods_target_labelString

Returns The label for the target.

Returns:

  • (String)

    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_targetString

Returns The deployment target.

Returns:

  • (String)

    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_nameSymbol

Returns The platform (either ‘:ios`, `:watchos`, `:tvos`, or `:osx`).

Returns:

  • (Symbol)

    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

#specsArray<Specification>

Returns The list of the specifications of the target.

Returns:

  • (Array<Specification>)

    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_projectXcodeproj::Project

Returns The user project into which this target is integrated.

Returns:

  • (Xcodeproj::Project)

    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_targetsArray<PBXNativeTarget>

Returns The list of user targets integrated by this umbrella target.

Returns:

  • (Array<PBXNativeTarget>)

    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_pathString

Returns The path of the user project integrated by this target.

Returns:

  • (String)

    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_uuidsArray<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.

Returns:

  • (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.



84
85
86
# File 'lib/pod/installer/post_install_hooks_context.rb', line 84

def user_target_uuids
  user_targets.map(&:uuid)
end