I know my query is unusual, but I need to link an alternate Foundation.framework with my code.
Background: I am working with The Cocotron so that I can cross-compile some Cocoa/Objective-C to Windows. The Cocotron has its own Foundation framework. I want to do some debugging of The Cocotron's Foundation code on my Mac, and so want to link that framework to my code. I am having trouble doing this. I have generated a Darwin i386 Foundation framework that is located in
/Developer/Cocotron/1.0/Darwin/i386/Frameworks
What I have done is to create a Foundation Tool. I removed the existing Foundation.framework from the External Frameworks and Libraries folder in Groups & Files. I then added my Cocotron version of Foundation.framework. So that it would be linked in, I included this in the Target Memberships for my Foundation Tool.
In the Build Settings for the target, I have set:
Frameworks Search Paths to the location of The Cocotron frameworks
(/Developer/Cocotron/1.0/Darwin/i386/Frameworks)
However, when I execute my Foundation Tool, I don't believe that it is linked in with the Cocotron version of the framework. Am I doing all that I need to do in order to have a different Foundation.framework be linked?