class Xcodeproj::XCScheme::ProfileAction
This class wraps the ProfileAction node of a .xcscheme XML file
def buildable_product_runnable
-
(BuildableProductRunnable)-
def buildable_product_runnable BuildableProductRunnable.new @xml_element.elements['BuildableProductRunnable'], 0 end
def buildable_product_runnable=(runnable)
-
runnable(BuildableProductRunnable) --
def buildable_product_runnable=(runnable) @xml_element.delete_element('BuildableProductRunnable') @xml_element.add_element(runnable.xml_element) if runnable end
def initialize(node = nil)
-
node(REXML::Element) --
def initialize(node = nil) create_xml_element_with_fallback(node, 'ProfileAction') do # Setup default values for other (handled) attributes self.build_configuration = 'Release' self.should_use_launch_scheme_args_env = true # Add some attributes (that are not handled by this wrapper class yet but expected in the XML) @xml_element.attributes['savedToolIdentifier'] = '' @xml_element.attributes['useCustomWorkingDirectory'] = bool_to_string(false) @xml_element.attributes['debugDocumentVersioning'] = bool_to_string(true) end end
def should_use_launch_scheme_args_env=(flag)
-
flag(Bool) --
def should_use_launch_scheme_args_env=(flag) @xml_element.attributes['shouldUseLaunchSchemeArgsEnv'] = bool_to_string(flag) end
def should_use_launch_scheme_args_env?
-
(Bool)-
def should_use_launch_scheme_args_env? string_to_bool(@xml_element.attributes['shouldUseLaunchSchemeArgsEnv']) end