Hello List,

In Xcode 3.1, I create a new cocoa project and build. When the default menu item
"Project->Set Active SDK->Mac OS 10.5 (Project Settings)"
is selected, I get this build error:
                                                        /
Developer/SDKs/MacOSX10.5.sdk/System/Libary/Frameworks/ DictionaryServices.framework/Headers/DictionaryServices.h:83: error: syntax error before 'CTFontRef'

The project compiles with no problems with active sdk changed to "Project->Set Active SDK->Mac OS 10.4"

I've uninstalled and reinstalled Xcode 3.1 a couple of times.

Any ideas?

   - gary

------build results----------------------------------------------------------------

            cd /CocoaTest
/Developer/usr/bin/gcc-4.0 -x objective-c-header -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 -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 - iquote /CocoaTest/build/CocoaTest.build/Debug/CocoaTest.build/ CocoaTest-generated-files.hmap -I/CocoaTest/build/CocoaTest.build/ Debug/CocoaTest.build/CocoaTest-own-target-headers.hmap -I/CocoaTest/ build/CocoaTest.build/Debug/CocoaTest.build/CocoaTest-all-target- headers.hmap -iquote /CocoaTest/build/CocoaTest.build/Debug/ CocoaTest.build/CocoaTest-project-headers.hmap -F/CocoaTest/build/ Debug -I/CocoaTest/build/Debug/include -I/CocoaTest/build/ CocoaTest.build/Debug/CocoaTest.build/DerivedSources -c /CocoaTest/ CocoaTest_Prefix.pch -o /var/folders/rl/rlAAO2yZHKG6V94YOfUvCU+++TM/- Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/CocoaTest_Prefix- ftxnjbzwehblnshastvbusvrwtsi/CocoaTest_Prefix.pch.gch In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/ Frameworks/CoreServices.framework/Headers/CoreServices.h:49, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/ Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h: 20, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/ Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/ Frameworks/Foundation.framework/Headers/Foundation.h:107, from /Developer/SDKs/MacOSX10.5.sdk/System/Library/ Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
                 from /CocoaTest/CocoaTest_Prefix.pch:6:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ DictionaryServices.framework/Headers/DictionaryServices.h:83: error: syntax error before 'CTFontRef'
                                 from /CocoaTest/CocoaTest_Prefix.pch:6:
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/ Frameworks/Cocoa.framework/Headers/Cocoa.h:12, from /Developer/SDKs/MacOSX10.5.sdk/System/ Library/Frameworks/Foundation.framework/Headers/Foundation.h:107, from /Developer/SDKs/MacOSX10.5.sdk/System/ Library/Frameworks/Foundation.framework/Headers/ NSAppleEventDescriptor.h:8, from /Developer/SDKs/MacOSX10.5.sdk/System/ Library/Frameworks/ApplicationServices.framework/Headers/ ApplicationServices.h:20, In file included from /Developer/SDKs/MacOSX10.5.sdk/System/ Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:49, /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ DictionaryServices.framework/Headers/DictionaryServices.h:83: error: syntax error before 'CTFontRef'
Build failed (1 error)
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to