• 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
UTI for Mach-O file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UTI for Mach-O file


  • Subject: UTI for Mach-O file
  • From: John Johnson <email@hidden>
  • Date: Wed, 25 Aug 2010 12:46:01 -0500

Hello. I'm implementing an NSDocument-based utility that loads mach-o files and displays information about them. But no matter what UTI I put in the Info.plist, I can't get the app to recognize the file when dropped on the dock tile. The only way I could get it recognized is by having no UTI and a * for the extensions, but this has the (very) unfortunate side-effect of recognizing ALL files. I've tried com.apple.mach-o.binary and public.unix-executable as well as public.executable. It's curious, because running mdls shown no UTI for an executable...
Can anyone tell me the best way to go from here, so that my app recognizes ONLY mach-o files? Is UTI's even the best way to go?

Thanks,
John_______________________________________________

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: UTI for Mach-O file
      • From: Ken Thomases <email@hidden>
    • Re: UTI for Mach-O file
      • From: Kevin Wojniak <email@hidden>
  • Prev by Date: Re: Formatting float numbers
  • Next by Date: Re: UTI for Mach-O file
  • Previous by thread: Re: Question about UITableView
  • Next by thread: Re: UTI for Mach-O file
  • Index(es):
    • Date
    • Thread