class Xcodeproj::XCScheme::RemoteRunnable


runnable remotely (it can be launched and debugged on a remote device, i.e. an Apple Watch)
(it contains a BuildableReference) and
A RemoteRunnable is a product that is both buildable
This class wraps the RemoteRunnable node of a .xcscheme XML file

def buildable_reference

Returns:
  • (BuildableReference) -
def buildable_reference
  @buildable_reference ||= BuildableReference.new @xml_element.elements['BuildableReference']
end

def buildable_reference=(ref)

Parameters:
  • ref (BuildableReference) --
def buildable_reference=(ref)
  @xml_element.delete_element('BuildableReference')
  @xml_element.add_element(ref.xml_element)
  @buildable_reference = ref
end

def bundle_identifier

Returns:
  • (String) -
def bundle_identifier
  @xml_element.attributes['BundleIdentifier']
end

def bundle_identifier=(value)

Parameters:
  • value (String) --
def bundle_identifier=(value)
  @xml_element.attributes['BundleIdentifier'] = value.to_s
end

def initialize(target_or_node = nil, runnable_debugging_mode = nil, bundle_identifier = nil, remote_path = nil)

Parameters:
  • remote_path (#to_s) --
  • bundle_identifier (#to_s) --
  • runnable_debugging_mode (#to_s) --
  • target_or_node (Xcodeproj::Project::Object::AbstractTarget, REXML::Element) --
def initialize(target_or_node = nil, runnable_debugging_mode = nil, bundle_identifier = nil, remote_path = nil)
  create_xml_element_with_fallback(target_or_node, 'RemoteRunnable') do
    self.buildable_reference = BuildableReference.new(target_or_node) if target_or_node
    @xml_element.attributes['runnableDebuggingMode'] = runnable_debugging_mode.to_s if runnable_debugging_mode
    @xml_element.attributes['BundleIdentifier'] = bundle_identifier.to_s if bundle_identifier
    @xml_element.attributes['RemotePath'] = remote_path.to_s if remote_path
  end
end

def remote_path

Returns:
  • (String) -
def remote_path
  @xml_element.attributes['RemotePath']
end

def remote_path=(value)

Parameters:
  • value (String) --
def remote_path=(value)
  @xml_element.attributes['RemotePath'] = value.to_s
end

def runnable_debugging_mode

Returns:
  • (String) -
def runnable_debugging_mode
  @xml_element.attributes['runnableDebuggingMode']
end

def runnable_debugging_mode=(value)

Parameters:
  • value (String) --
def runnable_debugging_mode=(value)
  @xml_element.attributes['runnableDebuggingMode'] = value.to_s
end