I am having some difficulty steering the preprocessor/compiler to find the intended versions of .h files in a project. The primary build of the project uses a set of targets and schemes, and has user header files along with the rest of its .m files in one folder. My version of the build has variants of the targets and schemes, plus variants of the original .h and .m files in a different folder. I have set up the User Header Search Paths to search my folder for .h files first, then search the primary folder. My intent is to use the modified .h files in my folder for my builds instead of the originals in the primary folder.
What appears to happen is that if the build gets a .m from the primary folder, the build process will search the primary folder first for .h files imported by that .m.
What in Xcode can change how the user header search path is used?
Is this a consequence of using precompiled headers? I notice there's a Build Option "Precompiled Header Uses Files From Build Directory" I hadn't noticed before, I wonder if this is somehow affecting how the search path is used.
Thanks,
Mike