Compiling in Xcode 4

I’m wondering if anyone has had any luck compiling with the Xcode 4 GM. I’ve got a project that compiles fine in 3.2.x giving me a “bad codegen, pointer diff” error when I try to compile in Xcode 4.

Yes, I am able to build the example apps just fine with 4.0.2. However, i cannot seem to get them to run.

This worked for me:

http://forum.openframeworks.cc/t/xcode-4-ios-4.3-sdk-bad-codegen,-pointer-diff-linker-error/5753/0