You need to do remove the "iPhone Developer: Your Name Here" line from the Target Info screen, do a Clean All Targets, put the "iPhone Developer: Your Name Here" back, and do a rebuild. In the Build Results screen you can see whether CodeSign has been called. If you don't remove the line and then put it back in, then CodeSign may not be called properly.
Maybe that helps.