I created my own framework for one of my cocoa application. I added that framework to my project and called a method from that framework. When I tried to run my application
Set framework installation directory to @executable_path/../Frameworks
Now add copy files in your build phase, set destination to Frameworks. click on your target, then on Editor (menu bar) --> Add build phase --> Add Copy Files Build Phase