PCH file and how to manually configure it after xcode6.0
Category: iphone 2014-12-04 22:44 1020 People read reviews (0) favorites report
Xcodepch
The use of PCH during development is a more efficient option. Xcode is automatically included in this file during the compilation process.
This means that the contents of this file are visible to all of your. m files.
Using this feature I usually do these things in this file:
1 commonly used macros.
2. h files that may need to be frequently included in the development
3 log output Switch control. Output is not required in release version.
I don't quite understand that the PCH was not automatically added to the new project after xcode6.0.
Manual configuration is actually a very simple process.
First AddFiles
Then you need to open the use of the PCH in Buildsettings and configure the path to the PCH file.
You can do it!!
The role of PCH files