I created my own framework for one of my cocoa applications. I added this structure to my project and named a method from this structure. When I tried to run the application, it crashed:
Failure Log:
dyld: Library not loaded: @rpath/MMP.framework/Versions/A/MMP Referenced from: /Users/Midhun/Library/Developer/Xcode/DerivedData/MMPTest-ccvjtgedqkcftchapjehhwjbaqdq/Build/Products/Debug/MMPTest.app/Contents/MacOS/MMPTest Reason: image not found
What I've done:
Framework:
- I added the header file to the public section

- I added Deployment and
Linking paths like:

- I am creating a project and I got my frame ready (pretty cool so far).
Project:
- I added this framework to the
FrameWorks folder in the Project root directory. - I added the framework in the
Link Binary With Libraries Section - I changed the Linking path as:

Platform Details:
Xcode: 4.6.2 OS X : 10.8
What I tried (after a crash)
- When I get this problem, I checked with
otool . It shows ways like:

But I could not solve the problem. Please help me, thanks in advance.
objective-c xcode cocoa macos
Midhun mp
source share