A framework is like an app bundle - it's actually a folder containing a library as well as the required header files for using classes in the library. Sometimes it also contains documentation and bundle resources.
You go to http://developer.apple.com/ , and you search for the part about creating frameworks. I think it involves making a Framework target in your Xcode project. If you didn't write the library to begin with, forget about it.