i want to link with some frameworks, to start "my_fw.framework"
so i've built my plugin and made sure the copy files build step copies
it into the bundle's "Frameworks" directory (verified):
then i drag my plugin into ~/Library/Spotlight, lovely
then i test it out but lo:
malkier: test files davec$ mdimport -d2 my_file_type.foo
2008-07-28 17:48:39.611 mdimport[82639:10b] Error loading /Users/davec/
Library/Spotlight/MySpotlightThing.mdimporter/Contents/MacOS/
MySpotlightThing: dlopen(/Users/davec/Library/Spotlight/
MySpotlightThing.mdimporter/Contents/MacOS/MySpotlightThing, 262):
Library not loaded: @executable_path/../Frameworks/my_fw.framework/
Versions/A/my_fw
Referenced from: /Users/davec/Library/Spotlight/
MySpotlightThing.mdimporter/Contents/MacOS/MySpotlightThing
Reason: image not found
2008-07-28 17:48:39.612 mdimport[82639:10b] Cannot find function
pointer MetadataImporterPluginFactory for factory 6D808E84-D0D5-428C-
AC2A-5D68A13F7F2D in CFBundle/CFPlugIn 0x11b170 </Users/davec/Library/
Spotlight/MySpotlightThing.mdimporter> (bundle, not loaded)
(Warning) ImportPluginLoading: Plugin at url '/Users/davec/Library/
Spotlight/MySpotlightThing.mdimporter/' cannot be loaded. It will not
be used.
2008-07-28 17:48:39.643 mdimport[82639:10b] Imported '/Volumes/aedev/
xmp test files/Flash8_Encoder.flv' of type 'com.adobe.flv' with no
plugIn.
a sad day!
i swear i did everything right! it is complaining that the file:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden