Module: SimCtl::Command::Install

Included in:
SimCtl::Command
Defined in:
lib/simctl/command/install.rb

Instance Method Summary collapse

Instance Method Details

#install_app(device, path) ⇒ void

This method returns an undefined value.

Installs an app on a device

Parameters:

  • device (SimCtl::Device)

    the device the app should be installed on

  • path

    Absolute path to the app that should be installed



11
12
13
# File 'lib/simctl/command/install.rb', line 11

def install_app(device, path)
  Executor.execute(command_for('install', device.udid, Shellwords.shellescape(path)))
end