doctor: accepting the Xcode license requires sudo.

This commit is contained in:
Mike McQuaid 2015-01-15 15:46:35 +00:00
parent 3e3603e9fb
commit fd8bb8776c

View File

@ -1158,7 +1158,7 @@ end
if `/usr/bin/xcrun clang 2>&1` =~ /license/ and not $?.success? then <<-EOS.undent
You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
xcodebuild -license
sudo xcodebuild -license
EOS
end
end