From 7fa9c6c8dfcd3dd5f3fd136fa8f1feec97e9abcb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 21 Apr 2014 11:03:42 -0500 Subject: Print the attempted command when xcrun wrapper fails --- Library/ENV/4.3/xcrun | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Library') diff --git a/Library/ENV/4.3/xcrun b/Library/ENV/4.3/xcrun index fbbfa3b57..fe4f276a7 100755 --- a/Library/ENV/4.3/xcrun +++ b/Library/ENV/4.3/xcrun @@ -37,7 +37,9 @@ try `/usr/bin/xcrun --find #{arg0} 2>/dev/null`.chomp ENV["PATH"].split(File::PATH_SEPARATOR).each { |p| try File.join(p, arg0) } abort <<-EOS -Your Xcode and or CLT are mis-configured. Try some or all of the following: - xcodebuild -license - sudo xcode-select -switch /path/to/Xcode.app +Failed to execute: #{arg0} #{ARGV.join(" ")} + +Xcode and/or the CLT appear to be misconfigured. Try one or both of the following: + xcodebuild -license + sudo xcode-select -switch /path/to/Xcode.app EOS -- cgit v1.2.3