The Samba-Bugzilla – Bug 11252
Last modified: 2015-05-08 19:55:51 UTC
The manual and a comment in the source file ccache.c say that the option "-include" is used to detect the use of precompiled headers. It seems that it is not, i.e. when using Xcode, -fpch-preprocess has to be added manually.
Seems to work in current ccache version.