lib/fastlane/plugin/simctl/helper/simctl_helper.rb in fastlane-plugin-simctl-0.2.0 vs lib/fastlane/plugin/simctl/helper/simctl_helper.rb in fastlane-plugin-simctl-0.2.1
- old
+ new
@@ -1,10 +1,10 @@
module Fastlane
module Helper
class SimctlHelper
def self.execute_with_simulator_ready(action, block, runtime, type, name)
device = create_device(runtime, type, name)
- device.launch
+ device.boot
device.wait(90) do |d|
Fastlane::UI.message("Waiting for simulator `#{d.name}` to be ready")
d.state == :booted && d.ready?
end
begin