Method: Xcodeproj::XCScheme::AbstractSchemeAction#post_actions

Defined in:
lib/xcodeproj/scheme/abstract_scheme_action.rb

#post_actionsArray<ExecutionAction>

Returns The list of actions to run after this scheme action. Each entry can be either a ‘Run Script’ or a ‘Send Email’ action.

Returns:

  • (Array<ExecutionAction>)

    The list of actions to run after this scheme action. Each entry can be either a ‘Run Script’ or a ‘Send Email’ action.



67
68
69
70
71
72
73
# File 'lib/xcodeproj/scheme/abstract_scheme_action.rb', line 67

def post_actions
  post_actions = @xml_element.elements['PostActions']
  return nil unless post_actions
  post_actions.get_elements('ExecutionAction').map do |entry_node|
    ExecutionAction.new(entry_node)
  end
end