The document "PDFKitViewer.exe" could not be opened.  PDFKitViewer cannot
open file in the "EXE File" format.



I receive this popup message when I run the PDFKitViewer from the samples
directory.  I get the same error from my own executable.    The Info.plist
is essentially the problem but I do not see how to make the message go
away.  Below is the Info.plist from PDFKitViewer.

thanks,
Duane



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//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>CFBundleDocumentTypes</key>
    <array>
      <dict>
        <key>CFBundleTypeExtensions</key>
        <array>
          <string>pdf</string>
          <string>PDF</string>
        </array>
        <key>CFBundleTypeMIMETypes</key>
        <array>
          <string>application/pdf</string>
        </array>
        <key>CFBundleTypeName</key>
        <string>DocumentType</string>
        <key>CFBundleTypeOSTypes</key>
        <array>
          <string>PDF </string>
        </array>
        <key>CFBundleTypeRole</key>
        <string>Viewer</string>
        <key>NSDocumentClass</key>
        <string>MyPDFDocument</string>
      </dict>
    </array>
    <key>CFBundleExecutable</key>
    <string>PDFKitViewer</string>
    <key>CFBundleIconFile</key>
    <string>Monobjc</string>
    <key>CFBundleIdentifier</key>
    <string>net.monobjc.samples.PDFKitViewer</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>PDFKitViewer</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.0</string>
    <key>NSMainNibFile</key>
    <string>MainMenu</string>
    <key>NSPrincipalClass</key>
    <string>NSApplication</string>
  </dict>
</plist>

Reply via email to