• 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
Fwd: xcode-users: building spotlight plugin fail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: xcode-users: building spotlight plugin fail


  • Subject: Fwd: xcode-users: building spotlight plugin fail
  • From: "David M. Cotter" <email@hidden>
  • Date: Tue, 29 Jul 2008 12:44:25 -0700

so i'm trying to make an OS X spotlight importer.

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:

/Users/davec/Library/Spotlight/MySpotlightThing.mdimporter/Contents/ MacOS/../Frameworks/my_fw.framework/Versions/A/my_fw

does not exist!  but it DOES!  it's right there!

> malkier:xmp test files davec$ dir /Users/davec/Library/Spotlight/ MySpotlightThing.mdimporter/Contents/MacOS/../Frameworks/ my_fw.framework/Versions/A/my_fw
> 9864 -rwxr-xr-x 1 davec staff 5048768 Jul 28 17:18 /Users/davec/ Library/Spotlight/MySpotlightThing.mdimporter/Contents/MacOS/../ Frameworks/my_fw.framework/Versions/A/my_fw*


any clue anyone?  i stuck!



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: xcode-users: building spotlight plugin fail
      • From: Preston Jackson <email@hidden>
  • Prev by Date: Re: Delete group in Xcode 3.1 with SCM
  • Next by Date: Re: Subversion, XCode, Storing Other Data
  • Previous by thread: Re: Xcode-users Digest, Vol 5, Issue 509
  • Next by thread: Re: xcode-users: building spotlight plugin fail
  • Index(es):
    • Date
    • Thread