How to set up XMPToolkit SDK CS6 in Xcode 4.6

14 Mar
  1. Build XMPToolkit SDK by opening ../XMP-Toolkit-SDK-CS6/build/xcode/XMPToolkitSDK.xcodeproj and click on “Run”
  2. Open and build the sample project in ../XMP-Toolkit-SDK-CS6/samples/build/xcode/XMPSamples.xcodeproj
  3. Create new C++ project in Xcode
  4. Click on the project
  5. Click on any of the targets -> “Build settings“, change “Base SDK” to your current OS X
  6. Compare to the build settings of target “ReadingXMP release” in XMPSamples, make sure all of the options is identical
  7. Under “Build location” the directories can be custom
  8. Under “User-defined” you only have to define one item XMP_ROOT -> your-directory/XMP-Toolkit-SDK-CS6
  9. Under “Linking” -> “Other linking flags“, set value to: ${XMP_ROOT}/public/libraries/macintosh/release/libXMPCoreStatic.a ${XMP_ROOT}/public/libraries/macintosh/release/libXMPFilesStatic.a -framework CoreServices
  10. Under “Search paths” -> “Header search paths“, set value to $(PROJECT_DIR) $(SRCROOT) $(XMP_ROOT) ${XMP_ROOT}/public/include
  11. Under “Apple LLVM compiler 4.2 – Preprocessing” -> “Preprocessor Macros“, set value to MAC_ENV=1
  12. You are good to go!

Check out our repo at Github

(The XMP logo is either a registered trademark or trademark of the Adobe Systems Incorporated in the United States and/or other countries.)



One Response to “How to set up XMPToolkit SDK CS6 in Xcode 4.6”

  1. JosePraveenThiyagarajan 03/15/2013 at 12:28 #

    Reblogged this on Tech Craze.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: