Recently, I switched to Xcode4 and when I compile my project I got following error.
ld: warning: ignoring file /Users/myname/Library/Developer/Xcode/DerivedD
Try to remove the armv6 architecture, and compile it only for armv7.