Generate Preprocessed File in Xcode
Is there any possibility to see preprocessed files before they are compiled in Xcode? In Visual Studio has开发者_运维百科 the option "Generate Preprocessed File" (options->C/C++->preprocessor).
In Xcode 5:
- Select an implementation file.
- From the menu: Product | Perform Action | Preprocess "YourClassName.m"
Right click on a file and choose "Preprocess"...
In Xcode 4:
- Select an implementation file
- From the menu: Product | Generate Output | Generate Preprocessed File
Hope this helps.
精彩评论