Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin




On 04/05/2005, at 18:49, Tom Birch wrote:


On 04/05/2005, at 18:31:23, Jeremy Higgs wrote:


Hi Tom,

The reason I added the #include is to get rid of the "Undefined symbols: _GetMetadataForFile" error I was getting when compiling the project (which was created in the proper manner in XCode)... If I'm doing something [terribly] wrong, please let me know!


hmm, still, you should never have to include a c file, if you're getting undefined symbols there's either a typo or you're not linking properly. Try checking the function is defined exactly as it should be in the docs, and then if that doesn't work, I guess make a new project and add the files again.

The problem is, we already made a brand new project, got the UTI registered and everything, but the same error pops up. The new project was also a lot more basic than the older one (the one I first described), with no schema entries, just an object under the kMDItemAuthors key in the GetMetadataForFile function... I'm puzzled as to why this is occurring, as we followed the Apple docs!


However, I guess there's something we must be missing or doing wrong, judging by the fact that Apple has been able to make Spotlight plugins, as well as third-party developers (such as OmniGroup)... I wonder if any of those people can provide any tips?

Heh, I just realised you work for TLAF - I was talking to Mat a couple of weeks ago about possible employment, damn it's a small world.

Indeed I do. :) I thought your name rang a bell. I actually go to UNSW (although I'm not a CSE student), so I guess it's an even smaller world than you thought!


Jeremy.

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >"Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin (From: Jeremy Higgs <email@hidden>)
 >Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin (From: Tom Birch <email@hidden>)
 >Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin (From: Jeremy Higgs <email@hidden>)
 >Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin (From: Tom Birch <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.