How do I correctly modify a custom cocoa framework?

Posted by Septih on Stack Overflow See other posts from Stack Overflow or by Septih
Published on 2010-03-18T10:15:58Z Indexed on 2010/03/18 10:31 UTC
Read the original article Hit count: 359

Filed under:
|
|

Hello,

I'm working with the very-useful ID3 framework in my cocoa project. There's one tiny thing I'd like to modify in it, but I can't seem to get the changes I've made to apply to the built framework.

The source code provided with the framework comes with an Xcode project, so I've opened that up and for testings sake put an NSLog(@"hello"); in. It's definetly in a place where it will be called and there are other NSLog() calls in the framework that show up so it's not just console output being supressed.

To build the framework once modified I've first cleaned the build folder, made sure that it's actually removed the files, and then built it. Then in the Xcode project I'm using the framework in, I've deleted the old reference and added a new one to the framework that's freshly built. Running my project with the newly build framework doesn't call the modified framework code. I've tried with both the Development and Deployment builds that are part of the framework Xcode project.

My gut instinct is that the executable that the framework code is compiled into is being cached somehow. But as I'm fairly unfamiliar with the workings of frameworks, I'm not really sure where to look.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about frameworks