diff --git a/lib/run_loop/cli/instruments.rb b/lib/run_loop/cli/instruments.rb index 5eda7aee..a53d7ea5 100644 --- a/lib/run_loop/cli/instruments.rb +++ b/lib/run_loop/cli/instruments.rb @@ -26,6 +26,11 @@ class Instruments < Thor def quit + if RunLoop::Xcode.new.version_gte_8? + puts "instruments quit with Xcode 8 is not supported" + exit 1 + end + signal = options[:signal] ENV['DEBUG'] = '1' if options[:debug] instruments = RunLoop::Instruments.new @@ -94,6 +99,10 @@ def quit :type => :boolean def launch + if RunLoop::Xcode.new.version_gte_8? + puts "Launching applications with Xcode 8 is not supported" + exit 1 + end debug = options[:debug] original_value = ENV['DEBUG']