x1-6-00-1b-63-b1-06-b0:~ asl$ ls -l /System/Library/Frameworks/Cocoa.framework
total 32
lrwxr-xr-x 1 root wheel 22 Jan 16 17:39 Cocoa -> Versions/Current/Cocoa
lrwxr-xr-x 1 root wheel 24 Jan 16 17:39 CodeResources -> Versions/A/CodeResources
lrwxr-xr-x 1 root wheel 24 Jul 9 22:52 Headers -> Versions/Current/Headers
lrwxr-xr-x 1 root wheel 26 Jan 16 17:39 Resources -> Versions/Current/Resources
drwxr-xr-x 4 root wheel 136 Jan 16 17:40 Versions
x1-6-00-1b-63-b1-06-b0:~ asl$ ls -l /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework
total 16
lrwxr-xr-x 1 root wheel 22 Jul 9 22:47 Cocoa -> Versions/Current/Cocoa
lrwxr-xr-x 1 root wheel 24 Jul 9 22:47 Headers -> Versions/Current/Headers
drwxr-xr-x 4 root wheel 136 Jul 9 22:48 Versions
x1-6-00-1b-63-b1-06-b0:~ asl$ ls -l /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework
total 16
lrwxr-xr-x 1 root wheel 22 Jul 9 22:47 Cocoa -> Versions/Current/Cocoa
lrwxr-xr-x 1 root wheel 24 Jul 9 22:47 Headers -> Versions/Current/Headers
drwxr-xr-x 4 root wheel 136 Jul 9 22:47 Versions
This is a section of the build result:
ProcessPCH /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/zzz_Prefix-fehwhdfvnvhrpxhddptybrkzwkco/zzz_Prefix.pch.gch zzz_Prefix.pch normal ppc objective-c com.apple.compilers.gcc.4_0
cd /Users/asl/Xcode/Projects/zzz
/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -I/Users/asl/Xcode/Projects/zzz/build/zzz.build/Release/zzz.build/zzz.hmap -F/Users/asl/Xcode/Projects/zzz/build/Release -F/Developer/DevSDK/System/Library/Frameworks -I/Users/asl/Xcode/Projects/zzz/build/Release/include -I/Users/asl/Xcode/Projects/zzz/build/zzz.build/Release/zzz.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.5.sdk -c /Users/asl/Xcode/Projects/zzz/zzz_Prefix.pch -o /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/zzz_Prefix-fehwhdfvnvhrpxhddptybrkzwkco/zzz_Prefix.pch.gch
/Users/asl/Xcode/Projects/zzz/zzz_Prefix.pch:6:28: error: Cocoa/Cocoa.h: No such file or directory
I have compared it with another project and I noticed that the -F option is different