Re: CLI open -a myApp fileName - not working
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