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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to