Re: IB assertion failure
Re: IB assertion failure
- Subject: Re: IB assertion failure
- From: "Sean McBride" <email@hidden>
- Date: Thu, 17 Jul 2008 16:05:05 -0400
- Organization: Rogue Research
On 7/17/08 1:48 PM, Randall Meadows said:
>> If the text file "jconfig.mac" is in your Xcode project, IB will
>> process it because it has to figure out if it can put it in the
>> media section. If you want to help us out, please file a Radar, and
>> if you want to attach that file, feel free to.
>
>I'll do that, but I'm curious as to what heuristics IB uses to
>determine what is a "media" file? Finder info? LaunchServices DB?
>Xcode had it marked correctly as "text" (though it still used the
>GraphicConverter icon for a MacPaint file that Finder assigned it), so
>I'm assuming IB does not use that.
It's probably using the UTI APIs (from Launch Services). Try this in
terminal:
mdls -name kMDItemContentType /path/to/file.mac
What does it say?
The problem is file extensions. :) A file can only have one UTI, yet
the same file extension is used for multiple formats, and LS has no way
to deal with this.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden