osx - How to build files as root in sublime on mac? -
today after updated os x 10.9.5 , xcode on mac , encounter problem sublime text 2 when write hello world program in c++, , run build, says agreeing xcode/ios license requires admin privileges, please re-run root via sudo. agreeing xcode license outside sublime text may resolve issue. running sudo xcrun cc should bring cli version of xcode license agreement. option open xcode.app , agree in gui.