fastlane/lib/fastlane/actions/reset_simulator_contents.rb in fastlane-2.57.0.beta.20170914010003 vs fastlane/lib/fastlane/actions/reset_simulator_contents.rb in fastlane-2.57.0.beta.20170915010002
- old
+ new
@@ -1,10 +1,11 @@
module Fastlane
module Actions
class ResetSimulatorContentsAction < Action
def self.run(params)
if Helper.xcode_at_least?("9")
- UI.user_error!("resetting simulators currently doesn't work with Xcode 9, stay tuned as we are working to add support for all new tools.")
+ UI.important("Resetting simulators currently doesn't work with Xcode 9, stay tuned as we are working to add support for all new tools.")
+ return
end
if params[:ios]
params[:ios].each do |os_version|
FastlaneCore::Simulator.reset_all_by_version(os_version: os_version)