Skip to content

Commit

Permalink
CLI: disable instruments cli for Xcode 8
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoody committed Dec 30, 2016
1 parent f50bb4f commit 3ff50ac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/run_loop/cli/instruments.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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']
Expand Down

0 comments on commit 3ff50ac

Please sign in to comment.