Re: determine whether an ancillary program/task can run
Re: determine whether an ancillary program/task can run
- Subject: Re: determine whether an ancillary program/task can run
- From: Martin Wierschin <email@hidden>
- Date: Thu, 01 Sep 2011 16:07:15 -0700
>> Offhand does anyone know how to inspect the architecture(s) of a plain executable file? I've been googling for a little bit and haven't hit upon anything that works yet.
>
> Use NSTask to launch lipo -info. (It's part of the standard install; does not require dev tools.)
Thank you Scott, that's good to know. And I just noticed it even has a nice "-verify_arch" option, so I'm not stuck parsing output. I guess this is the best solution.
Thanks everyone,
~Martin
_______________________________________________
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