Make an Xcode project for your framework.
In the Groups & Files panel> See the Blue Project icon in the upper left corner of the screen? Drag it to the Groups and Files panel of any other project that you like.
So, create an application project and drag the project icon from the framework project.
CMD-i in the target application . Here you set the dependency on the structure and the link against it.
Several points
Linking multiple applications to a single framework can be stressful. You need to either install your framework in / Library / Frameworks, or the equivalent or package in each application.
For development purposes, I find installing a custom shared layout directory for each of the projects, which makes work easier. I installed each project in / Code / Build / Debug . This means that the database search path for the debug build can be $ CONFIGURATION_BUILD_DIR. For your releases, you will still work on installations, rpath, etc. Pain in the Ass!
XConfig files are your friends. A good example of how to use them is the open source google mac toolbox. You will probably need at least Project_debug.xconfig , Project_release.xconfig , Target_framework.xconfig , Target_application.xconfig .
source share