How come compiling my .tex file with my alias is lagging?
A few thoughts:


This question better asked at the TeX.SE site. 
.tex files need to be compiled multiple times, not just once. Run pdflatex *.tex 3x and then open, and it should work
There are much much better LaTeX editors than XCode.
The latexmk script is, in my opinion, the best .tex compiler. It handles compiling the file as many times as necessary. rubber is another LaTeX compiler.