I want to check the output of the preprocessor for some files. How can I view the preprocessor's output in Xcode?
You 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:
Xcode 4.1 features now "Preprocessor or Assembly Output". All be happy!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With