mdimporter architecture problem on 10.6
mdimporter architecture problem on 10.6
- Subject: mdimporter architecture problem on 10.6
- From: Gideon King <email@hidden>
- Date: Thu, 3 Sep 2009 19:37:36 +1000
Hi, I am trying to get our metadata importer to run under Snow
Leopard, but no matter what I do, when I try to run it, I get a
message saying that the architecture doesn't match the current 64 bit
architecture, like this:
Gideons-Home-Mac-Pro:Frameworks gideon$ /usr/bin/mdimport -d2 /Users/
gideon/Downloads/Creed.nmind
2009-09-03 19:04:35.331 mdimport[91358:903] Imported '/Users/gideon/
Downloads/Creed.nmind' of type 'com.novamind.app.novamind' with
plugIn /Users/gideon/Library/Spotlight/
NovaMindMetadataImporter.mdimporter.
2009-09-03 19:04:35.333 mdimport[91358:903] Attributes: (null)
Plugin '/Users/gideon/Library/Spotlight/
NovaMindMetadataImporter.mdimporter' does not match current 64 bit
architecture to import type 'com.novamind.app.novamind'.
'/Users/gideon/Library/Spotlight/NovaMindMetadataImporter.mdimporter'
should be updated. 'arch -i386 mdimport' may work as a work-around.
I have tried all sorts of combinations of build settings, including
just building for 64 bit intel, 10.6 SDK, 10.6 deployment target just
to make sure, and even with a single architecture 64 bit importer, it
still gives me this message!
If I use the arch -i386 command it does work.
The only frameworks it links against are cocoa, corefoundation, and
coreservices, and it's a pretty straightforward thing that just un-
gzips and untars the file into a temp folder, and wanders through the
XML in a file picking out the relevant info, returns it in the
dictionary, and deletes the temp file.
My deployment needs to be 10.4+.
What build settings do I need to make this still work on those
systems, and work on 64 bit 10.6?
Thanks
Gideon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden