Sha256: 2aa5aeea19a9d84c1f2b247b97af696578c7ff51dad4565fb02185cba0a302cf
Contents?: true
Size: 474 Bytes
Versions: 2
Compression:
Stored size: 474 Bytes
Contents
require 'shellwords' module SimCtl class Command module Install COMMAND = %w[xcrun simctl install] # Installs an app on a device # # @param device [SimCtl::Device] the device the app should be installed on # @param path Absolute path to the app that should be installed # @return [void] def install_app(device, path) Executor.execute([COMMAND, device.udid, Shellwords.shellescape(path)]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simctl-1.5.1 | lib/simctl/command/install.rb |
simctl-1.5.0 | lib/simctl/command/install.rb |