Search code examples
xcodeosx-snow-leopardedsdk

Canon EDSDK 2.8 (Xcode 3.2.2 - Snow Leopard 10.6.3)


I'm trying to build an application using the Canon EDSDK 2.8. I created a new Cocoa Application project in Xcode, and imported the headers and framework files. When I try to build and run (without writing any code), I get two warnings that say the frameworks are missing x86_64 architecture files. If I try and import the "EDSDK.h" header file, I end up with about 100 miscellaneous errors.

I've tried changing the architecture to i386, however when I try and build and run, I get a debugger error that says "Cannot access memory at address 0x0".

The odd thing is that I can get the example applications bundled with the SDK to compile and run without issues,

Anyone have any ideas as to why this is happening?


Solution

  • Update, looks like I figured it out. Apparently under the target, you need to add a build phase which copies the EDSDK.framework to the Framework directory of the target.