On the command line, gcc -E
foo.m will show you the preprocessed output (just as it does
for normal C/C++ files). Of course, this will also expand
any #include or #import statements
you may have in your code.
From within Xcode:
原文:http://www.cnblogs.com/tanglaoya321/p/3572653.html