• 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
Re: Xcode 3 + 10.3.9 + NSStrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 3 + 10.3.9 + NSStrings


  • Subject: Re: Xcode 3 + 10.3.9 + NSStrings
  • From: Rudy Richter <email@hidden>
  • Date: Thu, 10 Apr 2008 14:05:05 -0400

the deployment version is set to 10.3, ppc is compiled with gcc 3.3 and set to use the 10.3.9 sdk, i386 is set to gcc 4 and the 10.4u sdk.

config:
http://people.ambrosiasw.com/~rudy/config.txt

logs:
http://people.ambrosiasw.com/~rudy/xcode2.5.txt
http://people.ambrosiasw.com/~rudy/xcode3.txt

thanks,
-rudy

On Apr 10, 2008, at 1:51 PM, Chris Espinosa wrote:


On Apr 10, 2008, at 10:46 AM, Rudy Richter wrote:

We recently switched over to using Xcode 3 for our build system and ran into a problem with globally defined NSStrings and CFStringRefs in frameworks on 10.3.9.  On 10.4 and 10.5 the built product works fine, but when we run it on 10.3.9 it crashes when it tries to reference the globally defined strings.  If I build the project using Xcode 2.5 everything runs fine on 10.3.9, 10.4 and 10.5.  I've looked at the commands the two versions of Xcode are passing down to gcc and ld and there don't seem to be any significant differences between the two.

The main difference is that unless otherwise instructed, Xcode 3 defaults to Mac OS X Deployment Version = 10.5, where Xcode 2.5 defaults to Mac OS X Deployment Version = 10.1 or something silly like that.  To generate code that runs at all on 10.3 you need to explicitly set the Deployment Version.

You also don't say which compiler you're using.  Providing the entire compiler invocation for both 2.5 and 3.0 might be illuminating.

Chris


--
Rudy Richter / C-4 & Demolitions Expert / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com/

 _______________________________________________
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: Xcode 3 + 10.3.9 + NSStrings
      • From: Rudy Richter <email@hidden>
References: 
 >Xcode 3 + 10.3.9 + NSStrings (From: Rudy Richter <email@hidden>)
 >Re: Xcode 3 + 10.3.9 + NSStrings (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Xcode 3 + 10.3.9 + NSStrings
  • Next by Date: NSTextField and MVC-compliance?
  • Previous by thread: Re: Xcode 3 + 10.3.9 + NSStrings
  • Next by thread: Re: Xcode 3 + 10.3.9 + NSStrings
  • Index(es):
    • Date
    • Thread