After upgrading to the iPhone SDK 4.0, I get the following error when building for device:
gcc-4.0: Invalid arch name : armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 failed with exit code 1
Before, I was only building for armv6 (the default on pre 4.0 SDK's).