using Exiftool with xcode

Started by arokkiadurairaj, May 20, 2013, 04:58:54 AM

Previous topic - Next topic

arokkiadurairaj

HI, I am a newbie in MAC app development, I wanted to know How I can use exiftool with Xcode to copy the exif data. I have done the same in windows by including the command line exe into the project and then calling it. How can I acheive the same in Xcode, as the client machine may not have the exif tool installed. Please provide a small solution for ht same.

Phil Harvey

I don't know the details of how to implement this in Xcode, but including ExifTool in a Mac app is trivial since a Mac app is a full directory structure.  Just put "exiftool" and its "lib" directory in the Contents/Resources directory of your app, and run it from there.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).