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?
I know this is an unconventional use of Xcode, but would appreciate any help that can be directed my way. TIA, --Stuart
Here is log of my build:
CompileC build/FoundationTool.build/Debug/FoundationTool.build/Objects-normal/i386/FoundationTool.o /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/FoundationTool.m normal i386 objective-c com.apple.compilers.gcc.4_0 cd /Users/stuart/Programming/Cocotron/MyApps/FoundationTool /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/FoundationTool.build/Debug/FoundationTool.build/FoundationTool-generated-files.hmap -I/Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/FoundationTool.build/Debug/FoundationTool.build/FoundationTool-own-target-headers.hmap -I/Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/FoundationTool.build/Debug/FoundationTool.build/FoundationTool-all-target-headers.hmap -iquote /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/FoundationTool.build/Debug/FoundationTool.build/FoundationTool-project-headers.hmap -F/Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/Debug -F/Developer/Cocotron/1.0/Darwin/i386/Frameworks -I/Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/Debug/include -I/Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/FoundationTool.build/Debug/FoundationTool.build/DerivedSources -include /var/folders/UP/UPMrfkHVH7ywij2BVq8KiE+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/FoundationTool_Prefix-cxzccsrzqvogzmgrvsufrganqqlu/FoundationTool_Prefix.pch -c /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/FoundationTool.m -o /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/FoundationTool.build/Debug/FoundationTool.build/Objects-normal/i386/FoundationTool.o
Ld /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/Debug/FoundationTool normal i386 cd /Users/stuart/Programming/Cocotron/MyApps/FoundationTool /Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/Debug -F/Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/Debug -F/Developer/Cocotron/1.0/Darwin/i386/Frameworks -filelist /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/FoundationTool.build/Debug/FoundationTool.build/Objects-normal/i386/FoundationTool.LinkFileList -mmacosx-version-min=10.5 -framework Foundation -o /Users/stuart/Programming/Cocotron/MyApps/FoundationTool/build/Debug/FoundationTool
|