Module: Platform::IOS::Common

Includes:
Device, Simulator
Defined in:
lib/mobmanager/mobile/platform/ios/common.rb

Instance Method Summary collapse

Methods included from Simulator

#build_ios_app, #close_and_clean_simulator, #remove_sim_temp_files, #setup_for_sauce, #start_simulator, #terminate_simulator

Methods included from OS

#mac?

Methods included from Device

#start_ios_device

Instance Method Details

#prepare_ios_phone(settings = nil) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/mobmanager/mobile/platform/ios/common.rb', line 10

def prepare_ios_phone(settings = nil)
  if ENV['IOS_PHONE'] == 'simulator'
    terminate_simulator
    start_simulator(settings)
  else
    start_ios_device
  end
end