I’m trying to figure out why Xcode isn’t recompiling my .cpp files that have to be (recompiled) when I modify their (the .cpp) Header files.
I have looked through the web for a while (there wasn’t anything here) and I can’t seem to find the answer for my question; some say it has been fixed others say you just have to use a work around (clean build)
I am using os 10.10.3 and Xcode 6.3.2 (6D2105). I have a project with files: main.cpp, File1.h, File1.cpp (Actual names replaced with generic ones for simplicity of reading) After I compile the project and then make modifications to only File1.h and try and run it, it doesn’t recognize that File1.cpp needs to be recompiled.
This creates a big problem for me, because a clean build takes much time to recompile (when using the bigger files, that have the problem)
Does anybody know how to fix this ? (or a better workaround?)