• 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: Chris Espinosa <email@hidden>
  • Date: Thu, 10 Apr 2008 10:51:28 -0700


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
_______________________________________________
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>)

  • Prev by Date: Re: Relative user path problem
  • Next by Date: Re: Xcode 3 + 10.3.9 + NSStrings
  • Previous by thread: Xcode 3 + 10.3.9 + NSStrings
  • Next by thread: Re: Xcode 3 + 10.3.9 + NSStrings
  • Index(es):
    • Date
    • Thread