Hi all, I’m using xcode 7 (got upgraded automatically) and now when I go to make a new file for a class xcode makes a .cpp and a .hpp not .h.
After applying the fix pinned at the top of the forum my old projects run OK with the previous .h files but it would be good to know what .hpp means in relation to OF.
I’m in the same situation: Xcode got upgraded to v7, applied fix, and everything worked as expected again, but C++ header files now use the .hpp extension.
Using .hpp instead of .h doesn’t make any difference in general terms, and OF handles them properly. It’s a matter of naming conventions: officially, C headers should be some_class.h while C++ headers should be some_class.hpp. But both are essentially the same when using C++.
Don’t know how to go back to .h in Xcode 7 though.
Just unzip and place the folder into /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates/. You should then see a file named Open Frameworks File under OS X -> Source.