• 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
Odd Doc Type Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd Doc Type Issue


  • Subject: Odd Doc Type Issue
  • From: SA Dev <email@hidden>
  • Date: Wed, 20 Jul 2005 14:42:37 -0400

List:

I'm having a hell of a time with a sudden problem with one of my apps. Suddenly, one of its two document types (for which it is the one and only editor) isn't showing its icon. The thing is, it's still 'associated with' my app but dragging the file to my app icon does not launch the app.

Both my document types/extensions (we'll call them 'ext1' and 'ext2') are unique to my app. Both are defined in exactly the same way in my target's Info window, under Document Types, such as:

UTI = com.me.myapp.ext1
Ext = ext1
MIME = EXT1
OS Type = EXT1
Icon File = ext1.icns
(neither are packages, and the classes are definitely right)

The *ONLY* thing I have changed since before the problem is that, when built, it now copies a metadata importer bundle into its ...app/ Contents/Library/Spotlight folder ... and the importer works just fine. The thing is, "ext1" is the problem doc type and the importer ONLY claims "ext2" docs, so the importer doesn't even have anything to do with "ext1" types.

I've tried the "lsregister -kill -r -domain local -domain system - domain user" command, rebooted, and still "ext2" shows its icon and works properly in both double-click and drag, and "ext1" still launches on double-click but refuses to launch on drag or display its icon. I've also tried copying the app to a system that's never had the app before and running it there to register it with Launch Services. I created a brand new file with the app, then quit ... same exact result on a totally separate machine. This tells me the problem is somewhere in my project and not with my local launch services cache.

  What the **** did I do? ANY ideas are welcomed with open arms.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Odd Doc Type Issue
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: can one display a tool tip with more than plain text?
  • Next by Date: [MEET] St. Louis, MO : CocoaHeads
  • Previous by thread: [ANN] Silicon Valley CocoaHeads forming
  • Next by thread: Re: Odd Doc Type Issue
  • Index(es):
    • Date
    • Thread