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
|
if `/usr/bin/xcrun clang 2>&1` =~ /license/ and not $?.success? then <<-EOS.undent
|
||||||
You have not agreed to the Xcode license.
|
You have not agreed to the Xcode license.
|
||||||
Builds will fail! Agree to the license by opening Xcode.app or running:
|
Builds will fail! Agree to the license by opening Xcode.app or running:
|
||||||
xcodebuild -license
|
sudo xcodebuild -license
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user