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

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


  • Subject: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Sun, 21 May 2006 11:00:09 +0100

On 21/05/06, Gerben Wierda <email@hidden> wrote:
Because my app ran fine as UB in 10.4.3 on a DTK even though there
was an unexplained problem. This problem I could not solve (deep
inside Apple's Frameworks somehow an NSData object was produced with
a negative length, to put it shortly) but luckily it only gave a
warning in console.app when the NSData was changed in an NSString
(this was subprocess output data) and the NSString (nil) was used in
an NSView. That way, my app ran for years.

Ah yes, an intermittent bug that you ignored because it sort of worked and then came back to bite you later. Are you entirely sure it's Apple's fault? Did you complain to DTS about it?
So, I now have to put out an app that does not run on 10.4.4 and up
on intel. And if I fix it such that it works via rosetta, I would
like to be able to let it run as a rosetta app but not native. I want
this check in my code so that it does not depend on my compile.

That's not really a proper fix, but it's certainly possible. See <http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_exec_a/chapter_7_section_7.html#//apple_ref/doc/uid/TP40002217-CH210-BAJEBJJF>.

-- Finlay
_______________________________________________
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: Gerben Wierda <email@hidden>
References: 
 >Re: Determining how the app is run (intel/ppc/rosetta/os version)? (From: Gerben Wierda <email@hidden>)

  • Prev by Date: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Next by Date: Location of an ``out of bounds" index error (sequel to ``Newbie Q: communication problem with NSTableView")
  • Previous by thread: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Next by thread: Re: Determining how the app is run (intel/ppc/rosetta/os version)?
  • Index(es):
    • Date
    • Thread