• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin
  • From: Tom Birch <email@hidden>
  • Date: Wed, 4 May 2005 19:54:10 +1000


On 04/05/2005, at 18:57:30, Jeremy Higgs wrote:


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!


well I haven't tried to make an importer, and I'm definitely not going to start tonight, I have to write 2500 words on the Free Trade Agreement and software patents, but maybe tomorrow or the day after I'll have a crack at it and send you something, or you can send me the project and I'll try and fix it.

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!

what course do you do? as if anyone wouldn't chose CSE! :p

cheers,
Tom


Jeremy.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: 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>)
 >Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin (From: Jeremy Higgs <email@hidden>)

  • Prev by Date: Re: ditto in ObjC or C
  • Next by Date: Re: spotlight, file extension, and UTIs
  • Previous by thread: Re: "Cannot find function pointer MetadataImporterPluginFactory" error when testing Spotlight plugin
  • Next by thread: Re: (freely) Rotating Text (SOLVED!)
  • Index(es):
    • Date
    • Thread