lib/simctl/command/create.rb in simctl-1.5.8 vs lib/simctl/command/create.rb in simctl-1.6.0

- old
+ new

@@ -15,10 +15,10 @@ raise "Invalid runtime: #{runtime}" unless runtime.is_a?(Runtime) raise "Invalid devicetype: #{devicetype}" unless devicetype.is_a?(DeviceType) device = Executor.execute(command_for('create', Shellwords.shellescape(name), devicetype.identifier, runtime.identifier)) do |identifier| device(udid: identifier) end - device.wait! {|d| d.state == :shutdown && File.exists?(d.path.device_plist)} + device.wait {|d| d.state == :shutdown && File.exists?(d.path.device_plist)} device end end end end