Intorjucer: no rule to process file


#1

After deleting and renaming some of my source files using the introjucer, I get the following warning in XCode . . .

warning: no rule to process file '$(PROJECT_DIR)/../../Source/GUI_RootComponent.h' of type sourcecode.c.h for architecture i386

I can easily remove the warning by going to [ Targets / Build Phases / Compile Sources ] and then removing the offending header file (as advised here http://stackoverflow.com/questions/6509600/compilation-warning-no-rule-to-process-file-for-architecture-i386), but every time that I save my project in the Introjucer, the offending header is replaced in the list.


#2

You’ve probably managed to tick the “compile” box for that file in the introjucer, which would tell it to always try to compile that file, regardless of its file extension.


#3

That was it. I renamed a cpp to be a header and it kept the compile flag. Thanks