[futurebasic] Re: [FB] Determining architecture of external app

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2010 : Group Archive : Group : All Groups

From: Brian S <fblistserve@...>
Date: Mon, 22 Nov 2010 09:19:27 -0700
On Nov 22, 2010, at 8:08 AM, Bernie wrote:

>> 
>> I wonder if the NSBundle method executableArchitecture will do it? Will do some tests and report back.
> 
> I think that works. As it happens, it is for a Cocoa app (LegacyAPISurvey) but here's the CF equivalent. 


Great stuff Bernie, Deep and Ken. Thanks for sharing.

As some might know, Xcode’s “Valid Architectures” is populated with both i386 and the PPC architectures on a “Make Xcode Project” via FBtoC. Submissions to Mac App Store may only have the i386 and x86_64 architectures, so this checking for arch would be a good feature for pre-flight app testing.



Brian S