Skip to content

Instantly share code, notes, and snippets.

@ByteProject
Forked from odrobnik/gist:3788876
Created September 26, 2012 16:15
Show Gist options
  • Save ByteProject/3788954 to your computer and use it in GitHub Desktop.
Save ByteProject/3788954 to your computer and use it in GitHub Desktop.
Info Plist declaring a main bundle extension *fixed*
<?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>en</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>icatalog</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>CatalogDocumentIcon</string>
<key>CFBundleTypeMIMETypes</key>
<array/>
<key>CFBundleTypeName</key>
<string>iCatalog Bundle</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSItemContentTypes</key>
<array>
<string>com.drobnik.icatalog</string>
</array>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>DTCatalogDocument</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>bundle</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>CatalogDocumentIcon</string>
<key>CFBundleTypeMIMETypes</key>
<array/>
<key>CFBundleTypeName</key>
<string>Apple Bundle</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSItemContentTypes</key>
<array>
<string>com.apple.bundle</string>
</array>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>DTCatalogDocument</string>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.drobnik.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>iCatalog Editor</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2012 Oliver Drobnik. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>com.apple.bundle</string>
</array>
<key>UTTypeDescription</key>
<string>iCatalog Bundle</string>
<key>UTTypeIconFile</key>
<string>CatalogDocumentIcon</string>
<key>UTTypeIdentifier</key>
<string>com.drobnik.icatalog</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>com.apple.nspboard-type</key>
<array/>
<key>public.filename-extension</key>
<array>
<string>icatalog</string>
</array>
<key>public.mime-type</key>
<array/>
</dict>
</dict>
</array>
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>com.apple.package</string>
</array>
<key>UTTypeDescription</key>
<string>Apple Bundle</string>
<key>UTTypeIdentifier</key>
<string>com.apple.bundle</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>bundle</string>
</array>
<key>public.mime-type</key>
<array/>
</dict>
</dict>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment