title: App not showing up in "Open With" menu for supported document type
body: <p>I have defined the UTIs my app supports, and can drag them onto the Dock icon. I've also implemented -application:openFiles: and -application:openFile: in my app delegate. But when I get info on an item of a UTI I support, it doesn't show up in the list, and is grayed out when I browse to "other". I've pasted a sample UTI from my plist below. What could I be doing wrong? I especially want it to work with the built-in App Store integration.</p>
  
  <pre><code>&lt;key&gt;CFBundleDocumentTypes&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;CFBundleTypeExtensions&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;cbz&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;CFBundleTypeIconFile&lt;/key&gt;
          &lt;string&gt;CBZ&lt;/string&gt;
          &lt;key&gt;CFBundleTypeName&lt;/key&gt;
          &lt;string&gt;Comic Book Zip Archive&lt;/string&gt;
          &lt;key&gt;CFBundleTypeRole&lt;/key&gt;
          &lt;string&gt;Editor&lt;/string&gt;
          &lt;key&gt;LSHandlerRank&lt;/key&gt;
          &lt;string&gt;Owner&lt;/string&gt;
          &lt;key&gt;LSItemContentTypes&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;com.abbey-code.cbz-archive&lt;/string&gt;
          &lt;/array&gt;
      &lt;/dict&gt;
  &lt;/array&gt;
  &lt;key&gt;UTExportedTypeDeclarations&lt;/key&gt;
  &lt;array&gt;
      &lt;dict&gt;
          &lt;key&gt;UTTypeConformsTo&lt;/key&gt;
          &lt;array&gt;
              &lt;string&gt;public.zip-archive&lt;/string&gt;
              &lt;string&gt;public.data&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;UTTypeDescription&lt;/key&gt;
          &lt;string&gt;Comic Book Zip Archive&lt;/string&gt;
          &lt;key&gt;UTTypeIconFile&lt;/key&gt;
          &lt;string&gt;CBZ&lt;/string&gt;
          &lt;key&gt;UTTypeIdentifier&lt;/key&gt;
          &lt;string&gt;com.abbey-code.cbz-archive&lt;/string&gt;
          &lt;key&gt;UTTypeTagSpecification&lt;/key&gt;
          &lt;dict&gt;
              &lt;key&gt;public.filename-extension&lt;/key&gt;
              &lt;array&gt;
                  &lt;string&gt;cbz&lt;/string&gt;
              &lt;/array&gt;
          &lt;/dict&gt;
      &lt;/dict&gt;
  &lt;/array&gt;
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>I fired up a VM with no third party applications other than my own installed, and everything is working as expected there. I've rebuilt my LaunchServices database like so:</p>
  
  <pre><code>/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra‌​mework/Support/lsregister -kill -r -domain local -domain system -domain user ; killall Dock
  </code></pre>
  
  <p>And that made no difference. I then made a dump of the LaunchServices database using this command, with results for my app bundle below it. It looks reasonable to me, but I'm not sure what I'm looking for. Is it possible I'm experiencing some type of collision with the other apps on my system? If so, how would I resolve that?</p>
  
  <pre><code>/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra‌​mework/Support/lsregister -dump &gt;&gt;lsregister.txt
  </code></pre>
  
  <p>The dump:</p>
  
  <pre><code>bundle  id:            61808
      path:          /Applications/AppName.app
      name:          AppName
      category:      public.app-category.entertainment
      identifier:    com.abbey-code.AppName (0x800183e0)
      canonical id:  com.abbey-code.appName (0x8001a08d)
      version:       6433.0
      mod date:      5/6/2014 22:54:46
      reg date:      5/7/2014 9:04:25
      type code:     'APPL'
      creator code:  '????'
      sys version:   10.9
      exec sdk ver:  10.9
      exec os ver:   10.9
      flags:         relative-icon-path  
      item flags:    container  package  application  extension-hidden  native-app  x86_64  
      hi res:        is-capabile  is-explicit  user-can-change  
      app nap:       is-capabile  
      icon:          Contents/Resources/AppIcon.icns
      executable:    Contents/MacOS/AppName
      inode:         37029967
      exec inode:    37030002
      container id:  32
      library:       Contents/Library/
      library items: QuickLook/AppNameQL.qlgenerator/
      --------------------------------------------------------
      type    id:            46888
          bindableKey:   3266
          generation:    7459
          uti:           com.abbey-code.cbz-archive
          description:   Comic Book Zip Archive
          flags:         exported  active  trusted  
          icon:          Contents/Resources/CBZ.icns
          conforms to:   public.zip-archive, public.data
          tags:          .cbz
      --------------------------------------------------------
      type    id:            46932
          bindableKey:   3267
          generation:    7459
          uti:           com.abbey-code.cbr-archive
          description:   Comic Book RAR Archive
          flags:         exported  active  trusted  
          icon:          Contents/Resources/CBR.icns
          conforms to:   public.archive, public.data
          tags:          .cbr
      --------------------------------------------------------
      claim   id:            37936
          bindableKey:   3268
          generation:    7459
          name:          Comic Book Zip Archive
          rank:          Owner
          roles:         Editor  
          flags:         relative-icon-path  
          icon:          Contents/Resources/CBZ.icns
          bindings:      com.abbey-code.cbz-archive
      --------------------------------------------------------
      claim   id:            37972
          bindableKey:   3269
          generation:    7459
          name:          Comic Book RAR Archive
          rank:          Owner
          roles:         Editor  
          flags:         relative-icon-path  
          icon:          Contents/Resources/CBR.icns
          bindings:      com.abbey-code.cbr-archive
      --------------------------------------------------------
      claim   id:            38008
          bindableKey:   3270
          generation:    1
          name:          PDF Document
          rank:          Default
          roles:         Viewer  
          flags:         
          icon:          
          bindings:      .pdf
      --------------------------------------------------------
      claim   id:            38044
          bindableKey:   3271
          generation:    1
          name:          RAR Archive
          rank:          Default
          roles:         Viewer  
          flags:         
          icon:          
          bindings:      .rar
      --------------------------------------------------------
      claim   id:            38080
          bindableKey:   3272
          generation:    1
          name:          ZIP Archive
          rank:          Default
          roles:         Editor  
          flags:         
          icon:          
          bindings:      .zip
      --------------------------------------------------------
      claim   id:            38116
          bindableKey:   3273
          generation:    7459
          name:          
          rank:          Default
          roles:         QLGenerator  
          flags:         
          icon:          
          delegate:      QuickLook/AppNameQL.qlgenerator/
          bindings:      com.abbey-code.cbz-archive, com.abbey-code.cbr-archive
  </code></pre>