@OdacirOn update X-code, the command line tool is not instaled/enabled.Only enable command line on X-code and all compile. The function "Build Lazarus", end whitout problem.