• 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: IB assertion failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: IB assertion failure
      • From: Randall Meadows <email@hidden>
References: 
 >IB assertion failure (From: Randall Meadows <email@hidden>)
 >Re: IB assertion failure (From: Kevin Cathey <email@hidden>)
 >Re: IB assertion failure (From: Randall Meadows <email@hidden>)
 >Re: IB assertion failure (From: Randall Meadows <email@hidden>)
 >Re: IB assertion failure (From: Kevin Cathey <email@hidden>)
 >Re: IB assertion failure (From: Randall Meadows <email@hidden>)
 >Re: IB assertion failure (From: Kevin Cathey <email@hidden>)
 >Re: IB assertion failure (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: IB assertion failure
  • Next by Date: Re: syntax coloring error Xcode 3.0
  • Previous by thread: Re: IB assertion failure
  • Next by thread: Re: IB assertion failure
  • Index(es):
    • Date
    • Thread