Here is my info.plist I am trying to get a callback for files ending in .pes

My code still does not break. The breakpoint is orange outlined in blue (?)

Please shed some light ...




<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd ">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>

        <key>UTExportedTypeDeclarations</key>
        <array>
                <dict>
                        <key>UTTypeIdentifier</key>
                        <string>com.britonleap.pes</string>
                        <key>UTTypeDescription</key>
                        <string>Brother/Babylock/Bernina Home Embroidery 
Format</string>
                </dict>
        </array>

        <key>CFBundleExecutable</key>
        <string>${EXECUTABLE_NAME}</string>
        <key>CFBundleIconFile</key>
        <string></string>
        <key>CFBundleIdentifier</key>
        <string>com.britonleap.qlgenerator.${PRODUCT_NAME:identifier}</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleName</key>
        <string>${PRODUCT_NAME}</string>
        <key>CFBundleShortVersionString</key>
        <string>1</string>
        <key>CFBundleVersion</key>
        <string>1.0</string>
        <key>CFPlugInDynamicRegisterFunction</key>
        <string></string>
        <key>CFPlugInDynamicRegistration</key>
        <string>NO</string>
        <key>CFPlugInFactories</key>
        <dict>
                <key>FC6CD5CE-323B-492E-A7EA-3C5387644D5D</key>
                <string>QuickLookGeneratorPluginFactory</string>
        </dict>
        <key>CFPlugInTypes</key>
        <dict>
                <key>5E2D9680-5022-40FA-B806-43349622E5B9</key>
                <array>
                        <string>FC6CD5CE-323B-492E-A7EA-3C5387644D5D</string>
                </array>
        </dict>
        <key>CFPlugInUnloadFunction</key>
        <string></string>
        <key>QLNeedsToBeRunInMainThread</key>
        <false/>
        <key>QLPreviewHeight</key>
        <real>600</real>
        <key>QLPreviewWidth</key>
        <integer>600</integer>
        <key>QLSupportsConcurrentRequests</key>
        <false/>
        <key>QLThumbnailMinimumSize</key>
        <integer>32</integer>
</dict>
</plist>









On Jul 13, 2009, at 7:38 AM, Julien Jalon wrote:

On Monday, July 13, 2009, David Blanton <aired...@tularosa.net> wrote:

Is it not the case that the UTI is defined in the info.plist CFBundleDocumentTypes? (which I have done).

Nope, CFBundleDocumentTypes associates your type to the plugin. You
should use UTExportedTypes or UTImportedTypes


look for "declaring UTI in info.plist" in google, you'll find exactly
what you need.

--
Julien




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to