• 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: NSString to Integer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString to Integer


  • Subject: Re: NSString to Integer
  • From: Dave DeLong <email@hidden>
  • Date: Sat, 07 Mar 2009 18:35:13 -0700

This is a test app that I'm using to test a concept (nothing to ever release), and I came across this oddity.

As for the build settings, it was set for 32 bit architecture. I set it to 32/64 bit, and also "Native Architecture of Build Machine", but after cleaning and building again, I get the same log message.

Dave

On Mar 7, 2009, at 6:13 PM, Daniel Richman wrote:

I don't know what the default compile settings are for 64-bit machines, so I could be wrong. However, I think the default is 32- bit only, regardless of environment. You have to set the compiler to also compile 64-bit binaries in the Info window of the project (right click on your project name in Xcode, then Get Info). Under Build -> Architectures (near the top), check what the setting is.

If it's 32 bit only, change it to 32/64 and report back.

But your app could be running on a 32 bit only machine, so 64 bit is not a bet to make if you want this program to work on unknown machines. Use -doubleValue to get at least 64 bits, guaranteed.

--Daniel
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSString to Integer
      • From: Nick Zitzmann <email@hidden>
References: 
 >NSString to Integer (From: Dave DeLong <email@hidden>)
 >Re: NSString to Integer (From: Daniel Richman <email@hidden>)

  • Prev by Date: Re: NSString to Integer
  • Next by Date: [SOLVED] Re: NSArrayController -- will change selection?
  • Previous by thread: Re: NSString to Integer
  • Next by thread: Re: NSString to Integer
  • Index(es):
    • Date
    • Thread