iphone compilation problems

I don’t know if there is an easy way to disable all bin_target statements.

As for the linker issue - I don’t know. NSAutoreleasePool is supposed to be defined in Foundation.
I’ve googled for the issue, and I can find a lot of advices, most of which are all different.

Maybe you still have libraries on the linker path that you compiled against the iPhone itself, or using a different architecture, or so?