Using a .pch file of static library in other proje

2019-08-05 08:50发布

问题:

How can I use a .pch file of a static library in another project,which is using the library.

回答1:

In the project build settings, search for "pch".

There will be an item "Prefix Header" where you should enter the name of your PCH file.