• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
3.1 errors building against 10.5 sdk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

3.1 errors building against 10.5 sdk


  • Subject: 3.1 errors building against 10.5 sdk
  • From: g biss <email@hidden>
  • Date: Tue, 22 Jul 2008 17:39:37 -0700

Hi,

New to this list. I checked the archives and see threads re build problems with Xcode 3.1 but nothing that address what I'm seeing.  I apologize in advance if I missed it, in which case someone just reply with CTFA.

If I create a New Cocoa Project in Xcode 3.1 and click build, the build fails with:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h:81: error: syntax error before 'CTFontRef'

If I then change the SDK setting
"Project->Set Active SDK->Mac OS 10.5 (Project Settings)" to
to
"Project->Set Active SDK->Mac OS 10.4"
the build succeeds.

I have uninstalled and reinstalled several times using the uninstall instructions in the 3.1 release notes.

Any Ideas on what is wrong or how I can get Xcode to create build-able SDK 10.5 projects?

Thanks,
   -gary

---------build info------------------

Building target “Untitled3” of project “Untitled3” with configuration “Release”


Checking Dependencies

Processing /Untitled3/build/Release/Untitled3.app/Contents/Info.plist Info.plist
    mkdir /Untitled3/build/Release/Untitled3.app/Contents
    cd /Untitled3
    <com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Untitled3/build/Release/Untitled3.app/Contents/PkgInfo -expandbuildsettings -o /Untitled3/build/Release/Untitled3.app/Contents/Info.plist

CopyStringsFile /Untitled3/build/Release/Untitled3.app/Contents/Resources/English.lproj/InfoPlist.strings English.lproj/InfoPlist.strings
    mkdir /Untitled3/build/Release/Untitled3.app/Contents/Resources/English.lproj
    cd /Untitled3
    /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings --validate --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings --outdir /Untitled3/build/Release/Untitled3.app/Contents/Resources/English.lproj

CompileXIB /Untitled3/English.lproj/MainMenu.xib
    cd /Untitled3
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Untitled3/build/Release/Untitled3.app/Contents/Resources/English.lproj/MainMenu.nib /Untitled3/English.lproj/MainMenu.xib

ProcessPCH /var/folders/rl/rlAAO2yZHKG6V94YOfUvCU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/Untitled3_Prefix-eghniqxjkpyhbvbnmxnczervezke/Untitled3_Prefix.pch.gch Untitled3_Prefix.pch normal i386 objective-c com.apple.compilers.gcc.4_0
    cd /Untitled3
    /Developer/usr/bin/gcc-4.0 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-generated-files.hmap -I/Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-own-target-headers.hmap -I/Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-all-target-headers.hmap -iquote /Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-project-headers.hmap -F/Untitled3/build/Release -I/Untitled3/build/Release/include -I/Untitled3/build/Untitled3.build/Release/Untitled3.build/DerivedSources -c /Untitled3/Untitled3_Prefix.pch -o /var/folders/rl/rlAAO2yZHKG6V94YOfUvCU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/Untitled3_Prefix-eghniqxjkpyhbvbnmxnczervezke/Untitled3_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 /Untitled3/Untitled3_Prefix.pch:6:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h:81: error: syntax error before 'CTFontRef'

ProcessPCH /var/folders/rl/rlAAO2yZHKG6V94YOfUvCU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/Untitled3_Prefix-bcubifuqrytamqeqggjthhurbjfv/Untitled3_Prefix.pch.gch Untitled3_Prefix.pch normal ppc objective-c com.apple.compilers.gcc.4_0
    cd /Untitled3
    /Developer/usr/bin/gcc-4.0 -x objective-c-header -arch ppc -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -mtune=G5 -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-generated-files.hmap -I/Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-own-target-headers.hmap -I/Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-all-target-headers.hmap -iquote /Untitled3/build/Untitled3.build/Release/Untitled3.build/Untitled3-project-headers.hmap -F/Untitled3/build/Release -I/Untitled3/build/Release/include -I/Untitled3/build/Untitled3.build/Release/Untitled3.build/DerivedSources -c /Untitled3/Untitled3_Prefix.pch -o /var/folders/rl/rlAAO2yZHKG6V94YOfUvCU+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/Untitled3_Prefix-bcubifuqrytamqeqggjthhurbjfv/Untitled3_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 /Untitled3/Untitled3_Prefix.pch:6:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/DictionaryServices.framework/Headers/DictionaryServices.h:81: error: syntax error before 'CTFontRef'
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: 3.1 errors building against 10.5 sdk
      • From: Gary Bissiri <email@hidden>
  • Prev by Date: Re: Uninstall 3.1
  • Next by Date: Re: Basic question on /Library/Application Support
  • Previous by thread: Re: Uninstall 3.1
  • Next by thread: Re: 3.1 errors building against 10.5 sdk
  • Index(es):
    • Date
    • Thread