• 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: determine whether an ancillary program/task can run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: determine whether an ancillary program/task can run
      • From: Scott Ribe <email@hidden>
References: 
 >determine whether an ancillary program/task can run (From: Martin Wierschin <email@hidden>)
 >Re: determine whether an ancillary program/task can run (From: Dave DeLong <email@hidden>)
 >Re: determine whether an ancillary program/task can run (From: Martin Wierschin <email@hidden>)
 >Re: determine whether an ancillary program/task can run (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: determine whether an ancillary program/task can run
  • Next by Date: Re: Core Data Xcode 4 question
  • Previous by thread: Re: determine whether an ancillary program/task can run
  • Next by thread: Re: determine whether an ancillary program/task can run
  • Index(es):
    • Date
    • Thread