Re: Determining how the app is run (intel/ppc/rosetta/os version)?
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