• 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
Determining how the app is run (intel/ppc/rosetta/os version)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining how the app is run (intel/ppc/rosetta/os version)?


  • Subject: Determining how the app is run (intel/ppc/rosetta/os version)?
  • From: Gerben Wierda <email@hidden>
  • Date: Sun, 21 May 2006 10:38:52 +0200

I would like to determine very specificly how my app is being run. E.g.
- On 10.4.4 on intel using rosetta
- On 10.4.6 ppc
- On 10.3.9 ppc

The app is a universal binary where the intel part is compiled for Tiger (of course) and the ppc part is comppiled for 10.3 and linked against MacOSX10.3.9.sdk

I tried using
if (floor(NSAppKitVersionNumber) >= 800)
to find out if I am running on Tiger, but when I start the app using Rosetta, it still says I'm on Tiger (of course).


So, how do I find all these out?

G
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Determining how the app is run (intel/ppc/rosetta/os version)?
      • From: Colin Howarth <email@hidden>
    • Re: Determining how the app is run (intel/ppc/rosetta/os version)?
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Where's "Multiple Fonts Allowed"?
  • Next by Date: Re: core data, synchonizing multiple MOC's
  • Previous by thread: Universal XML-RPC for Cocoa
  • Next by thread: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Index(es):
    • Date
    • Thread