I want to check the output of the preprocessor for some files. How can I view the preprocessor's output in Xcode?
See Question&Answers more detail:osI want to check the output of the preprocessor for some files. How can I view the preprocessor's output in Xcode?
See Question&Answers more detail:osYou can choose the "Show the Assistant editor" view in the top right set of buttons in the toolbar.
Then, at the top of the right-hand editor you can click the little Related Files
button and then either choose Preprocess
or Assembly
.
You can see an example of both the preprocessor output and generated assembly code all side-by-side here: