Developing a project as an OS X framework and iOS static library at the same time
You want to develop a framework for OS X and iOS at the same time!
This is not a strange thing since OS X and iOS are substantially similar underneath: a Unix box running Cocoa. With Lion, Apple seem determined to make them even more similar. And why not?
You want both framework and library to share identical sources so that you do not need to maintain two mostly-similar sets. If there are any differences, you want to limit that only to actual differences, not just differences in the way they need compiling and linking.
There is a simple way to do it.