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.