I have a file ~/.lldbinit with a single alias:
command alias pi print (int)
But when I run my app from Xcode, the alias does not work. How
if you created the lldbinit file with some editor then it might have screwed it. try openning the lldbinit file with vi and check if it just plain text