doctor: accepting the Xcode license requires sudo.
This commit is contained in:
parent
3e3603e9fb
commit
fd8bb8776c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user