fastlane/lib/fastlane/actions/reset_simulator_contents.rb in fastlane-2.40.0 vs fastlane/lib/fastlane/actions/reset_simulator_contents.rb in fastlane-2.41.0.beta.20170623010027

- old
+ new

@@ -1,8 +1,12 @@ 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.") + end + if params[:ios] params[:ios].each do |os_version| FastlaneCore::Simulator.reset_all_by_version(os_version: os_version) end else