• 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: CLI open -a myApp fileName - not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CLI open -a myApp fileName - not working


  • Subject: Re: CLI open -a myApp fileName - not working
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 17 Jun 2006 10:31:17 +0200

<string>text/tif</string>

This is nonsense. TIFF is not a kind of text file, it's an image file format. Best read some docs on MIME types (it's an Internet Standard, so very likely there's an RFC for it somewhere). My guess would be image/tiff, but maybe it's image/x-tiff. TIF is only the extension of TIFF used for file systems that don't support more than three characters (i.e. it's a legacy thing from DOS).


<key>CFBundleTypeOSTypes</key>
<array>
 <string>****</string>
</array>

This is the OS type meaning "I can open all files". Not really a good idea unless you mean it.


<key>LSIsAppleDefaultForType</key>
<true/>

Don't use that key. It's reserved for use by Apple.

You really should read the docs on Info.plist keys on Apple's web site. Or avoid most of this by using Xcode's "Project Settings" or "Target Settings" window to set up this stuff in a GUI.

<key>CFBundleTypeName</key>
<string></string>

Why is this empty?

I'm not sure any of this really hinders your app from working (maybe it just didn't get registered with Launch Services yet or so... try duplicating the built file so Finder re-scans it and make sure you built for "Deployment", not for "Development" with ZeroLink on), but there's enough odd and slightly wrong stuff in there that it could copnfuse Launch Services.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ 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: CLI open -a myApp fileName - not working
      • From: Sherm Pendley <email@hidden>
References: 
 >CLI open -a myApp fileName - not working (From: David Hoerl <email@hidden>)
 >Re: CLI open -a myApp fileName - not working (From: Lester Dowling <email@hidden>)

  • Prev by Date: Re: Deploying Cocoa Applications
  • Next by Date: Re: Deploying Cocoa Applications
  • Previous by thread: Re: CLI open -a myApp fileName - not working
  • Next by thread: Re: CLI open -a myApp fileName - not working
  • Index(es):
    • Date
    • Thread