UTI for Mach-O file
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