I\'m working on an app in xcode 4 and everything was going great, then something odd just started happening. Every time I make a new class (any type of class, ViewController
My issue was I added the MetalPetal pod and I couldn't access the "MTIShaderLib.h" header to build custom filters even though the header was declared as public. I tried everything above and more and more and more from other answers but the problem was listed in the directions for the pod installation that I overlooked.
What I had to do was go to my main applications icon (the blue icon), select Build Settings, then in the search box I typed in header search paths.
Under Metal Compiler - Build Options I went to Header Search Paths and pressed the arrow.
I clicked Debug and in the pop up box I pressed the + sign at the bottom and entered:
${PODS_CONFIGURATION_BUILD_DIR}/MetalPetal/MetalPetal.framework/Headers
I then did the same exact thing for Release. Make sure you do the steps for both Debug and Release
Problem was resolved after many frustrating hours.