diff --git a/lib/fastlane/plugin/maestro_orchestration/actions/maestro_orchestration_ios_action.rb b/lib/fastlane/plugin/maestro_orchestration/actions/maestro_orchestration_ios_action.rb index 1fa2793..410e038 100644 --- a/lib/fastlane/plugin/maestro_orchestration/actions/maestro_orchestration_ios_action.rb +++ b/lib/fastlane/plugin/maestro_orchestration/actions/maestro_orchestration_ios_action.rb @@ -22,6 +22,10 @@ def self.run(params) UI.message("Running Maestro tests on iOS...") `maestro test #{params[:maestro_flow_file]}` UI.success("Finished Maestro tests on iOS.") + + UI.message("Killing iOS simulator...") + system("xcrun simctl shutdown booted") + UI.success("iOS simulator killed. Process finished.") end def self.boot_ios_simulator(params)