Some information on Spotlight search bundles...

Discussion in 'iPod touch Firmware 3.0 Jailbreak' started by Sarcasm Siempre, Jun 21, 2009.

  1. Sarcasm Siempre

    Sarcasm Siempre New Member

    Joined:
    May 9, 2008
    Messages:
    1,836
    Likes Received:
    0
    Device:
    iPod touch
    They are located in /System/Library/SearchBundles.

    They have the name (App Name).searchBundle. (ex. MobileMail.searchBundle, iPod.searchBundle)

    The .searchBundle file contains an Info.plist and an executable that has the same name as the application the searchBundle is for. (ex. MobileMail.searchBundle has an executable called MobileMail.)

    The Info.plist reads as follows (this is for the MobileMail.searchBundle):

    Code:
    <?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>CFBundleExecutable</key>
    	<string>MobileMail</string>
    	<key>CFBundleIdentifier</key>
    	<string>com.apple.MobileMail.searchbundle</string>
    	<key>CFBundleInfoDictionaryVersion</key>
    	<string>6.0</string>
    	<key>CFBundlePackageType</key>
    	<string>BNDL</string>
    	<key>CFBundleSignature</key>
    	<string>????</string>
    	<key>CFBundleSupportedPlatforms</key>
    	<array>
    		<string>iPhoneOS</string>
    	</array>
    	<key>CFBundleVersion</key>
    	<string>1.0</string>
    	<key>DTPlatformName</key>
    	<string>iphoneos</string>
    	<key>DTSDKName</key>
    	<string>iphoneos3.0.internal</string>
    	<key>MinimumOSVersion</key>
    	<string>3.0</string>
    	<key>NSExecutable</key>
    	<string>SPMessageDatastore</string>
    </dict>
    </plist>
    Thought this might be helpful to some people.
  2. Ryuzaki

    Ryuzaki Active Member

    Joined:
    Feb 4, 2009
    Messages:
    2,316
    Likes Received:
    1
    Device:
    iPhone 5 (Black)
    Thanks.
    I had to do something like this last night after I set in Mobile Music Flip.
    This should help alot of people. :]

Share This Page