Okay, I remember how to do this now. First Brad's instructions for adding the framework to your project is kind of bogus. That is if it is a "framework" you should be able to add the framework to your project without adding the source.
When you write the line #import <GPUImage/GPUImage.h>
it is looking in the framework for the GPUImage.h file and not finding it. It is not finding it because the GPUImage.h file target membership is not set to public.
The simple fix, which is not so simple, is to set GPUImage.h target membership to public and rebuild the framework. The problem is all the included h files in GPUImage.h also need to be set to public, but not all of them are. And there are over 160 h files in the framework. Best to follow the steps below and let xcode tell you which h files it still can't find.
To set the target membership in xcode,
- open the GPUImage project in xcode
- Open the GPUImage.h file
- In the Utility window on the right select the file inspector tab, which looks like a page with a little fold at the top right corner.
- under Target Membership check GPUImageFramework and change "project" to "public" from the drop down menu.
- Rebuild the GPUImageFramework for "Generic iOS Device".
- Under the Product group right click on the GPUImageFramework and select open in Finder.
- Drag the newly built Framework to your project and unselect "copy items if needed" is unchecked. That way if you need to rebuild the project after making the other h files public you won't have to.